cmake/Tests/RunCMake/CMP0163/CMP0118-WARN/CMP0163-OLD-Test5.cmake

8 lines
242 B
CMake
Raw Normal View History

2024-07-09 14:46:46 +02:00
# Leave CMP0118 unset!
cmake_policy(SET CMP0163 OLD)
# Call the associated test.
cmake_path(GET RunCMake_TEST STEM testcase)
string(REGEX REPLACE "OLD" "Common" testcase "${testcase}")
include(${CMAKE_CURRENT_LIST_DIR}/../${testcase}.cmake)