Tests: Split RunCMake.BuildDepends make-only condition

This commit is contained in:
Brad King 2017-04-26 08:34:16 -04:00
parent 8985c1dfd7
commit 6d1be6e382

View File

@ -43,9 +43,10 @@ endif()
run_BuildDepends(Custom-Symbolic-and-Byproduct)
run_BuildDepends(Custom-Always)
if(RunCMake_GENERATOR MATCHES "Make" AND
NOT "${RunCMake_BINARY_DIR}" STREQUAL "${RunCMake_SOURCE_DIR}")
run_BuildDepends(MakeInProjectOnly)
if(RunCMake_GENERATOR MATCHES "Make")
if(NOT "${RunCMake_BINARY_DIR}" STREQUAL "${RunCMake_SOURCE_DIR}")
run_BuildDepends(MakeInProjectOnly)
endif()
endif()
function(run_ReGeneration)