summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2014-10-07 04:24:10 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-10 14:17:27 (GMT)
commit50e261ddb680f46e7011fe5173dc59d64b12c882 (patch)
treeeb9c50a632711793e412224a0e7b936aac55a726 /Tests
parent9b98fd528da4821f316505e7dcc0b12510ae77bc (diff)
downloadCMake-50e261ddb680f46e7011fe5173dc59d64b12c882.zip
CMake-50e261ddb680f46e7011fe5173dc59d64b12c882.tar.gz
CMake-50e261ddb680f46e7011fe5173dc59d64b12c882.tar.bz2
OSX: Warn when attempting to change runtime paths on OS X 10.5
Even though 10.5 supports @rpath, the support is not complete enough for CMake. For instance, install_name_tool doesn't support adding and removing rpaths. Also modifying BundleUtilities test to remove an undesirable cmake generated runtime path. The intent was to build with the install rpath as is done with the other cases in this test.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/BundleUtilities/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/BundleUtilities/CMakeLists.txt b/Tests/BundleUtilities/CMakeLists.txt
index 3a1cf55..69ef535 100644
--- a/Tests/BundleUtilities/CMakeLists.txt
+++ b/Tests/BundleUtilities/CMakeLists.txt
@@ -109,7 +109,8 @@ if(APPLE AND NOT CMAKE_SYSTEM_VERSION VERSION_LESS 9.0)
target_link_libraries(testbundleutils3 shared-3 framework-3 ${CMAKE_DL_LIBS})
set_target_properties(testbundleutils3 module3 PROPERTIES
- LINK_FLAGS "-Wl,-rpath,@loader_path/")
+ LINK_FLAGS "-Wl,-rpath,@loader_path/"
+ BUILD_WITH_INSTALL_RPATH 1)
# add custom target to install and test the app
add_custom_target(testbundleutils3_test ALL