From 2caa6bb7e6c7393cda1c2846f790d7ce88448bc4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 7 Mar 2006 10:04:29 -0500 Subject: [PATCH] BUG: Some platforms require executable permission on shared libraries. --- Tests/SimpleInstall/CMakeLists.txt | 5 ++--- Tests/SimpleInstallS2/CMakeLists.txt | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt index 755d1a2cd..7ef0e5e10 100644 --- a/Tests/SimpleInstall/CMakeLists.txt +++ b/Tests/SimpleInstall/CMakeLists.txt @@ -94,9 +94,8 @@ ELSE(STAGE2) 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(TARGETS test4 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE + RUNTIME DESTINATION bin LIBRARY DESTINATION lib) 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 755d1a2cd..7ef0e5e10 100644 --- a/Tests/SimpleInstallS2/CMakeLists.txt +++ b/Tests/SimpleInstallS2/CMakeLists.txt @@ -94,9 +94,8 @@ ELSE(STAGE2) 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(TARGETS test4 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE + RUNTIME DESTINATION bin LIBRARY DESTINATION lib) INSTALL(FILES lib1.h DESTINATION include/foo) INSTALL(FILES lib2.h DESTINATION include/foo