Use CMake-detected make program.

This probably doesn't make a huge difference in practice, as the
DMD test suite scripts require a Posix-ish environment anyway.
This commit is contained in:
David Nadlinger
2012-12-06 23:17:32 +01:00
parent 6cb0193c53
commit 5a6176316a

View File

@@ -20,7 +20,7 @@ function(add_testsuite config_name dflags)
# given set of flags without trying all combinations of them.
add_test(NAME ${name}}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/d2/dmd-testsuite
COMMAND make RESULTS_DIR=${outdir} DMD=${ldmd_path} DFLAGS=${dflags} MODEL=${model} quick
COMMAND ${CMAKE_MAKE_PROGRAM} RESULTS_DIR=${outdir} DMD=${ldmd_path} DFLAGS=${dflags} MODEL=${model} quick
DEPENDS ${name}_clean
)
endfunction()