summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2017-04-18 18:52:44 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2017-04-21 12:57:02 (GMT)
commit01c5bb9551ff0322f2cb4d5439a2ab9a94c87815 (patch)
treec9fd8f427d4a83efdf9604dc6bf053f094b2f2e0 /Tests
parent7f947b602f00ea94161c98b2887479e445d9bc92 (diff)
downloadCMake-01c5bb9551ff0322f2cb4d5439a2ab9a94c87815.zip
CMake-01c5bb9551ff0322f2cb4d5439a2ab9a94c87815.tar.gz
CMake-01c5bb9551ff0322f2cb4d5439a2ab9a94c87815.tar.bz2
RunCMake.Ninja: support passing arguments when running ninja
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/Ninja/RunCMakeTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/Ninja/RunCMakeTest.cmake b/Tests/RunCMake/Ninja/RunCMakeTest.cmake
index 7b4e51e..063a6d1 100644
--- a/Tests/RunCMake/Ninja/RunCMakeTest.cmake
+++ b/Tests/RunCMake/Ninja/RunCMakeTest.cmake
@@ -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