diff options
Diffstat (limited to 'Tests/RunCMake/CXXModules/CMP0155-NEW-with-rule.cmake')
-rw-r--r-- | Tests/RunCMake/CXXModules/CMP0155-NEW-with-rule.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/CMP0155-NEW-with-rule.cmake b/Tests/RunCMake/CXXModules/CMP0155-NEW-with-rule.cmake new file mode 100644 index 0000000..9eda4df --- /dev/null +++ b/Tests/RunCMake/CXXModules/CMP0155-NEW-with-rule.cmake @@ -0,0 +1,11 @@ +enable_language(CXX) +set(CMAKE_CXX_SCANDEP_SOURCE "echo") + +cmake_policy(SET CMP0155 NEW) + +add_executable(cmp0155-new-with-rule + sources/module-use.cxx) +set_target_properties(cmp0155-new-with-rule + PROPERTIES + CXX_STANDARD 20 + CXX_STANDARD_REQUIRED ON) |