diff options
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/SimpleInstall/CMakeLists.txt | 5 | ||||
-rw-r--r-- | Tests/SimpleInstallS2/CMakeLists.txt | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt index fc5c861..755d1a2 100644 --- a/Tests/SimpleInstall/CMakeLists.txt +++ b/Tests/SimpleInstall/CMakeLists.txt @@ -92,8 +92,11 @@ ELSE(STAGE2) ADD_DEPENDENCIES(test2 test3) ADD_DEPENDENCIES(test4 test2) - INSTALL(TARGETS SimpleInstall test1 test2 test3 test4 + INSTALL(TARGETS SimpleInstall test1 test2 test3 RUNTIME DESTINATION bin LIBRARY DESTINATION lib) + INSTALL(TARGETS test4 + RUNTIME DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE + LIBRARY DESTINATION lib PERMISSIONS OWNER_READ OWNER_WRITE) INSTALL(FILES lib1.h DESTINATION include/foo) INSTALL(FILES lib2.h DESTINATION include/foo diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt index fc5c861..755d1a2 100644 --- a/Tests/SimpleInstallS2/CMakeLists.txt +++ b/Tests/SimpleInstallS2/CMakeLists.txt @@ -92,8 +92,11 @@ ELSE(STAGE2) ADD_DEPENDENCIES(test2 test3) ADD_DEPENDENCIES(test4 test2) - INSTALL(TARGETS SimpleInstall test1 test2 test3 test4 + INSTALL(TARGETS SimpleInstall test1 test2 test3 RUNTIME DESTINATION bin LIBRARY DESTINATION lib) + INSTALL(TARGETS test4 + RUNTIME DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE + LIBRARY DESTINATION lib PERMISSIONS OWNER_READ OWNER_WRITE) INSTALL(FILES lib1.h DESTINATION include/foo) INSTALL(FILES lib2.h DESTINATION include/foo |