summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstall
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-11 16:41:20 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-11 16:41:20 (GMT)
commitb20fd1af117df4defd8ecd6f34dfb65d6c9c7ad6 (patch)
tree797c9b88cf0a76f024036334a95a174ad76a5140 /Tests/SimpleInstall
parentc0326d0d543615b5f3e0c10d382e0275a18d5b47 (diff)
downloadCMake-b20fd1af117df4defd8ecd6f34dfb65d6c9c7ad6.zip
CMake-b20fd1af117df4defd8ecd6f34dfb65d6c9c7ad6.tar.gz
CMake-b20fd1af117df4defd8ecd6f34dfb65d6c9c7ad6.tar.bz2
BUG: Do not collapse the INSTALL_NAME_DIR setting because users may intend to have .. in the path. This makes the makefile generator consistent with the already working Xcode implementation of this feature. Also added a test for @executable_path/.. style settings for this property.
Diffstat (limited to 'Tests/SimpleInstall')
-rw-r--r--Tests/SimpleInstall/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt
index 564b4fa..3d8cdb8 100644
--- a/Tests/SimpleInstall/CMakeLists.txt
+++ b/Tests/SimpleInstall/CMakeLists.txt
@@ -205,7 +205,8 @@ ELSE(STAGE2)
${CMAKE_CURRENT_SOURCE_DIR}/PreInstall.cmake)
SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES POST_INSTALL_SCRIPT
${CMAKE_CURRENT_SOURCE_DIR}/PostInstall.cmake)
- SET_TARGET_PROPERTIES(test4 PROPERTIES VERSION 1.2 SOVERSION 3)
+ SET_TARGET_PROPERTIES(test4 PROPERTIES VERSION 1.2 SOVERSION 3
+ INSTALL_NAME_DIR @executable_path/../lib)
ENDIF(STAGE2)
IF(CMAKE_CONFIGURATION_TYPES)