diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-11-25 06:10:42 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-11-25 06:10:42 +0100 |
commit | a1d7cb40bded2c7c499bdfc8de3f526e793d5ad0 (patch) | |
tree | f22cd73e7fe5b9b3199c8ea059b5251176096287 /CMakeLists.txt | |
parent | b5dec466c6d5c4678f332e8ec75f32bed51730c3 (diff) | |
download | usb-drivers-a1d7cb40bded2c7c499bdfc8de3f526e793d5ad0.tar.gz usb-drivers-a1d7cb40bded2c7c499bdfc8de3f526e793d5ad0.tar.xz usb-drivers-a1d7cb40bded2c7c499bdfc8de3f526e793d5ad0.zip |
CMakeLists.txt: don't enforce setuid bit
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4dfd110..ab4dcf9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,12 +126,13 @@ include (GNUInstallDirs) # These should be accessible by users, but need to touch system devices. # Use the setuid bit, for simplicity. +set (SETUID "SETUID" CACHE STRING "Set this empty on permission issues") install (TARGETS ${targets} DESTINATION ${CMAKE_INSTALL_BINDIR} PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE - SETUID) + ${SETUID}) install (TARGETS ${targets_gui} DESTINATION ${CMAKE_INSTALL_BINDIR}) install (FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR}) |