summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CMP0004/CMP0004-NEW.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0004/CMP0004-NEW.cmake')
-rw-r--r--Tests/RunCMake/CMP0004/CMP0004-NEW.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0004/CMP0004-NEW.cmake b/Tests/RunCMake/CMP0004/CMP0004-NEW.cmake
new file mode 100644
index 000000000..7c61961f5
--- /dev/null
+++ b/Tests/RunCMake/CMP0004/CMP0004-NEW.cmake
@@ -0,0 +1,9 @@
+
+cmake_minimum_required(VERSION 2.8)
+
+cmake_policy(SET CMP0004 NEW)
+
+add_library(foo SHARED empty.cpp)
+add_library(bar SHARED empty.cpp)
+
+target_link_libraries(foo "$<1: bar >")