mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Revert "Use CMake-detected make program."
CMAKE_MAKE_PROGRAM isn't always (GNU) make, but refers to the
"make" equivalent of the target generator, for example the
"ninja" executable if the Ninja generator is used.
Using find_program or something similar would probably still
be a good idea.
This reverts commit 5a6176316a.
This commit is contained in:
@@ -19,7 +19,7 @@ function(add_testsuite config_name dflags model)
|
||||
# testsuite build system provides no way to run the test cases with a
|
||||
# given set of flags without trying all combinations of them.
|
||||
add_test(NAME ${name}
|
||||
COMMAND ${CMAKE_MAKE_PROGRAM} -C ${PROJECT_SOURCE_DIR}/tests/d2/dmd-testsuite RESULTS_DIR=${outdir} DMD=${ldmd_path} DFLAGS=${dflags} MODEL=${model} quick
|
||||
COMMAND make -C ${PROJECT_SOURCE_DIR}/tests/d2/dmd-testsuite RESULTS_DIR=${outdir} DMD=${ldmd_path} DFLAGS=${dflags} MODEL=${model} quick
|
||||
)
|
||||
set_tests_properties(${name} PROPERTIES DEPENDS ${name}_clean)
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user