summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/CMP0155-OLD.cmake
blob: 201598e7a00aaa09a907e062d16b5a487a653838 (plain)
1
2
3
4
5
6
7
8
9
10
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)