summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0068/CMP0068-OLD.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0068/CMP0068-OLD.cmake')
-rw-r--r--Tests/RunCMake/CMP0068/CMP0068-OLD.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0068/CMP0068-OLD.cmake b/Tests/RunCMake/CMP0068/CMP0068-OLD.cmake
new file mode 100644
index 0000000..cf1040f
--- /dev/null
+++ b/Tests/RunCMake/CMP0068/CMP0068-OLD.cmake
@@ -0,0 +1,6 @@
+
+cmake_policy(SET CMP0068 OLD)
+cmake_policy(SET CMP0042 NEW)
+
+add_library(foo SHARED empty.cpp)
+set_target_properties(foo PROPERTIES INSTALL_NAME_DIR "@rpath" INSTALL_RPATH "@loader_path/" BUILD_WITH_INSTALL_RPATH 1)