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