summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0026/CMP0026-NEW.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0026/CMP0026-NEW.cmake')
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-NEW.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0026/CMP0026-NEW.cmake b/Tests/RunCMake/CMP0026/CMP0026-NEW.cmake
new file mode 100644
index 0000000..1659ffc
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-NEW.cmake
@@ -0,0 +1,7 @@
+
+enable_language(CXX)
+
+cmake_policy(SET CMP0026 NEW)
+
+add_library(somelib empty.cpp)
+get_target_property(_loc somelib LOCATION)