summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0068/CMP0068-NEW.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0068/CMP0068-NEW.cmake')
-rw-r--r--Tests/RunCMake/CMP0068/CMP0068-NEW.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0068/CMP0068-NEW.cmake b/Tests/RunCMake/CMP0068/CMP0068-NEW.cmake
new file mode 100644
index 0000000..eb8cfa1
--- /dev/null
+++ b/Tests/RunCMake/CMP0068/CMP0068-NEW.cmake
@@ -0,0 +1,6 @@
+
+cmake_policy(SET CMP0068 NEW)
+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)