From bfca604ab56272348ea7fdb3bddb6c03e9f089e6 Mon Sep 17 00:00:00 2001 From: Patrick Brosi Date: Fri, 28 Jun 2019 15:10:31 +0200 Subject: [PATCH] explicit permissions for install targets --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5016463..fbaf775 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,10 +84,10 @@ add_custom_target( # handles install target install( - FILES pfaedle.cfg DESTINATION etc/${PROJECT_NAME} COMPONENT config PERMISSIONS WORLD_READ + FILES pfaedle.cfg DESTINATION etc/${PROJECT_NAME} COMPONENT config PERMISSIONS OWNER_READ GROUP_READ WORLD_READ ) install( FILES build/pfaedle DESTINATION bin - PERMISSIONS WORLD_EXECUTE COMPONENT binaries + PERMISSIONS OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE COMPONENT binaries )