mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
12 lines
378 B
CMake
12 lines
378 B
CMake
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)
|