cmake/Tests/RunCMake/CMP0163/CMP0118-NEW/CMP0163-WARN-Test2d.cmake

8 lines
243 B
CMake
Raw Normal View History

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