Tests/RunCMake/Ninja.*: Sanitize NINJA_STATUS since we expect default behavior

FYI, NINJA_STATUS is "[%f/%t] " by default.
This commit is contained in:
NAKAMURA Takumi
2021-06-26 15:32:38 +09:00
committed by Brad King
parent 5694362d98
commit 63177678d0
2 changed files with 6 additions and 0 deletions

View File

@@ -18,6 +18,9 @@ else()
message(FATAL_ERROR "'ninja --version' reported:\n${ninja_out}")
endif()
# Sanitize NINJA_STATUS since we expect default behavior.
unset(ENV{NINJA_STATUS})
if(CMAKE_HOST_WIN32)
run_cmake(SelectCompilerWindows)
else()

View File

@@ -5,6 +5,9 @@ include(RunCMake)
set(RunCMake_GENERATOR "Ninja Multi-Config")
set(RunCMake_GENERATOR_IS_MULTI_CONFIG 1)
# Sanitize NINJA_STATUS since we expect default behavior.
unset(ENV{NINJA_STATUS})
function(check_files dir)
cmake_parse_arguments(_check_files "" "" "INCLUDE;EXCLUDE" ${ARGN})