RunCMake.Ninja: support passing arguments when running ninja

This commit is contained in:
Ben Boeckel 2017-04-18 14:52:44 -04:00
parent 7f947b602f
commit 01c5bb9551

View File

@ -73,7 +73,7 @@ run_SubDir()
function(run_ninja dir)
execute_process(
COMMAND "${RunCMake_MAKE_PROGRAM}"
COMMAND "${RunCMake_MAKE_PROGRAM}" ${ARGN}
WORKING_DIRECTORY "${dir}"
OUTPUT_VARIABLE ninja_stdout
ERROR_VARIABLE ninja_stderr