You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
322 B
9 lines
322 B
3 years ago
|
include(RunCMake)
|
||
|
|
||
|
set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/CheckEnvironmentVar-build)
|
||
|
run_cmake(CheckEnvironmentVar)
|
||
|
set(RunCMake_TEST_NO_CLEAN 1)
|
||
|
run_cmake_command(CheckEnvironmentVar-build ${CMAKE_COMMAND} --build . --config Debug --target main)
|
||
|
unset(RunCMake_TEST_BINARY_DIR)
|
||
|
unset(RunCMake_TEST_NO_CLEAN)
|