From e755fb79ba945fea8a318dc343e73d22a39e2f4e Mon Sep 17 00:00:00 2001 From: Cosmin Truta Date: Thu, 19 Oct 2023 00:26:54 +0300 Subject: [PATCH] ci: Quick-fix ci_verify_cmake.sh Avoid using `cmake --option=value` and `ctest --option=value`, to stay compatible with older versions of CMake. --- ci/ci_verify_cmake.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ci/ci_verify_cmake.sh b/ci/ci_verify_cmake.sh index a3f737983..b46e9c6bf 100755 --- a/ci/ci_verify_cmake.sh +++ b/ci/ci_verify_cmake.sh @@ -145,25 +145,25 @@ function ci_build { "$CI_BUILD_TO_SRC_RELDIR" # Spawn "cmake --build ...". ci_spawn "$CI_CMAKE" --build . \ - --config="$CI_CMAKE_BUILD_TYPE" \ + --config "$CI_CMAKE_BUILD_TYPE" \ "${ALL_CMAKE_BUILD_FLAGS[@]}" ci_expr $((CI_NO_TEST)) || { # Spawn "ctest" if testing is not disabled. - ci_spawn "$CI_CTEST" --build-config="$CI_CMAKE_BUILD_TYPE" \ + ci_spawn "$CI_CTEST" --build-config "$CI_CMAKE_BUILD_TYPE" \ "${ALL_CTEST_FLAGS[@]}" } ci_expr $((CI_NO_INSTALL)) || { - # Spawn "cmake --build ... --target=install" if installation is not disabled. + # Spawn "cmake --build ... --target install" if installation is not disabled. ci_spawn "$CI_CMAKE" --build . \ - --config="$CI_CMAKE_BUILD_TYPE" \ - --target=install \ + --config "$CI_CMAKE_BUILD_TYPE" \ + --target install \ "${ALL_CMAKE_BUILD_FLAGS[@]}" } ci_expr $((CI_NO_CLEAN)) || { - # Spawn "make --build ... --target=clean" if cleaning is not disabled. + # Spawn "make --build ... --target clean" if cleaning is not disabled. ci_spawn "$CI_CMAKE" --build . \ - --config="$CI_CMAKE_BUILD_TYPE" \ - --target=clean \ + --config "$CI_CMAKE_BUILD_TYPE" \ + --target clean \ "${ALL_CMAKE_BUILD_FLAGS[@]}" } ci_info "## END OF BUILD ##"