cmake/Tests/RunCMake/CMP0163/CMP0118-WARN/CMP0163-OLD-Test4b.cmake
2024-07-09 14:46:46 +02:00

8 lines
242 B
CMake

# 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)