summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-20 19:35:20 (GMT)
committerBrad King <brad.king@kitware.com>2022-01-20 19:36:48 (GMT)
commita4f076110d4ceaf92f60a604fbca08f645cb5844 (patch)
tree1719a67d4bfddbfc64cfb1960c6ef31b0fe00b80 /Tests/RunCMake/CommandLine/RunCMakeTest.cmake
parent410dd6cf611f31ebca74e1db4dc439e6fcaf34b4 (diff)
downloadCMake-a4f076110d4ceaf92f60a604fbca08f645cb5844.zip
CMake-a4f076110d4ceaf92f60a604fbca08f645cb5844.tar.gz
CMake-a4f076110d4ceaf92f60a604fbca08f645cb5844.tar.bz2
Tests: Fix RunCMake.CommandLine toolchain case command line
Diffstat (limited to 'Tests/RunCMake/CommandLine/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CommandLine/RunCMakeTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
index 3622e64..313b579 100644
--- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
@@ -196,7 +196,7 @@ function(run_Toolchain)
set(CMAKE_SYSTEM_NAME Linux)
set(toolchain_file binary_dir)
]=])
- run_cmake_with_options(toolchain-valid-rel-build-path ${CMAKE_COMMAND} -S ${source_dir} -B ${binary_dir} --toolchain toolchain.cmake)
+ run_cmake_with_options(toolchain-valid-rel-build-path -S ${source_dir} -B ${binary_dir} --toolchain toolchain.cmake)
endfunction()
run_Toolchain()