blob: 0c99cda6de0b7e56dc8a2bf314657e2b583d2f95 (
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-NEW)
# Protect tests from running inside the default install prefix.
set(RunCMake_TEST_OPTIONS "--install-prefix ${RunCMake_BINARY_DIR}/NotDefaultPrefix")
run_cmake(CMP0041-tid-NEW)
|