CMakeLists.txt: don't enforce setuid bit
All checks were successful
Alpine 3.20 Success
Arch Linux AUR This was not supposed to build

This commit is contained in:
Přemysl Eric Janouch 2024-11-25 06:10:42 +01:00
parent b5dec466c6
commit a1d7cb40bd
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -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})