summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0027/CMP0027-OLD.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0027/CMP0027-OLD.cmake')
-rw-r--r--Tests/RunCMake/CMP0027/CMP0027-OLD.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0027/CMP0027-OLD.cmake b/Tests/RunCMake/CMP0027/CMP0027-OLD.cmake
new file mode 100644
index 0000000..404217d
--- /dev/null
+++ b/Tests/RunCMake/CMP0027/CMP0027-OLD.cmake
@@ -0,0 +1,10 @@
+
+enable_language(CXX)
+
+cmake_policy(SET CMP0027 OLD)
+
+add_library(testTarget UNKNOWN IMPORTED)
+set_property(TARGET testTarget PROPERTY INTERFACE_INCLUDE_DIRECTORIES "/does/not/exist")
+
+add_library(userTarget "${CMAKE_CURRENT_SOURCE_DIR}/empty.cpp")
+target_link_libraries(userTarget PRIVATE $<1:testTarget>)