CMake/Tests/RunCMake/PolicyScope/parent-dir-generate-time.cmake

8 lines
143 B
CMake
Raw Normal View History

enable_language(CXX)
add_subdirectory(dir1)
# This affects dir1 despite being set after the add_subdirectory.
cmake_policy(SET CMP0044 NEW)