summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/CMP0155-OLD.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CXXModules/CMP0155-OLD.cmake')
-rw-r--r--Tests/RunCMake/CXXModules/CMP0155-OLD.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/CMP0155-OLD.cmake b/Tests/RunCMake/CXXModules/CMP0155-OLD.cmake
new file mode 100644
index 0000000..201598e
--- /dev/null
+++ b/Tests/RunCMake/CXXModules/CMP0155-OLD.cmake
@@ -0,0 +1,11 @@
+enable_language(CXX)
+unset(CMAKE_CXX_SCANDEP_SOURCE)
+
+cmake_policy(SET CMP0155 OLD)
+
+add_executable(cmp0155-old
+ sources/module-use.cxx)
+set_target_properties(cmp0155-old
+ PROPERTIES
+ CXX_STANDARD 20
+ CXX_STANDARD_REQUIRED ON)