From 5a6176316a5531077b6402970250998a366c0bb6 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Thu, 6 Dec 2012 23:17:32 +0100 Subject: [PATCH] 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. --- tests/d2/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/d2/CMakeLists.txt b/tests/d2/CMakeLists.txt index 59fed58f..99a32526 100644 --- a/tests/d2/CMakeLists.txt +++ b/tests/d2/CMakeLists.txt @@ -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()