mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
Tests: Protect RunCMake tests from MAKEFLAGS in environment (#15542)
This commit is contained in:
@@ -135,3 +135,6 @@ function(run_cmake_command test)
|
|||||||
set(RunCMake_TEST_COMMAND "${ARGN}")
|
set(RunCMake_TEST_COMMAND "${ARGN}")
|
||||||
run_cmake(${test})
|
run_cmake(${test})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
# Protect RunCMake tests from calling environment.
|
||||||
|
unset(ENV{MAKEFLAGS})
|
||||||
|
|||||||
Reference in New Issue
Block a user