summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0041/RunCMakeTest.cmake
blob: e7f27a1a2892f180b461aa475cbbe7b5cb8fd2d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
include(RunCMake)

# Protect tests from running inside the default install prefix.
set(RunCMake_TEST_OPTIONS "-DCMAKE_INSTALL_PREFIX=${RunCMake_BINARY_DIR}/NotDefaultPrefix")

run_cmake(CMP0041-OLD)
run_cmake(CMP0041-NEW)
run_cmake(CMP0041-WARN)
run_cmake(CMP0041-tid-OLD)
run_cmake(CMP0041-tid-NEW)
run_cmake(CMP0041-tid-WARN)