diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-01-24 11:25:06 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2022-01-24 11:25:06 (GMT) |
commit | 9406b2073e5b3f4193109bfab19e798b954e8cde (patch) | |
tree | 9c266c10a31a32819eee1e010c8017e1c1cfe3a6 | |
parent | 91de0ff599ded1aee72c3ff211ee0b5bea5bc8fc (diff) | |
download | CMake-9406b2073e5b3f4193109bfab19e798b954e8cde.zip CMake-9406b2073e5b3f4193109bfab19e798b954e8cde.tar.gz CMake-9406b2073e5b3f4193109bfab19e798b954e8cde.tar.bz2 |
Tests: Remove stray argument from test invocation
The run_cmake_with_options() command already sets the test
command to ${CMAKE_COMMAND}. The options passed to that
command shouldn't also add another ${CMAKE_COMMAND}.
This removes a warning seen in the output of tests that invoke
__ep_test_with_build_with_server().
-rw-r--r-- | Tests/RunCMake/ExternalProject/RunCMakeTest.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/ExternalProject/RunCMakeTest.cmake b/Tests/RunCMake/ExternalProject/RunCMakeTest.cmake index a4244e3..48f8b23 100644 --- a/Tests/RunCMake/ExternalProject/RunCMakeTest.cmake +++ b/Tests/RunCMake/ExternalProject/RunCMakeTest.cmake @@ -112,7 +112,7 @@ function(__ep_test_with_build_with_server testName) file(READ ${URL_FILE} SERVER_URL) message(STATUS "URL : ${URL_FILE} - ${SERVER_URL}") - run_cmake_with_options(${testName} ${CMAKE_COMMAND} -DSERVER_URL=${SERVER_URL} ) + run_cmake_with_options(${testName} -DSERVER_URL=${SERVER_URL}) run_cmake_command(${testName}-clean ${CMAKE_COMMAND} --build . --target clean) run_cmake_command(${testName}-build ${CMAKE_COMMAND} --build .) endfunction() |