From: Magnus Jacobsson Date: Sun, 5 Sep 2021 07:55:50 +0000 (+0200) Subject: ci/build.sh: CMake: use fallback for unset CMAKE_OPTIONS X-Git-Tag: 2.49.1~39^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb86f9de5a26c700175a3c63a6276cbf47112a0f;p=graphviz ci/build.sh: CMake: use fallback for unset CMAKE_OPTIONS This is no functional change but will allow treating unset variables as errors in an upcoming commit. --- diff --git a/ci/build.sh b/ci/build.sh index 72dc530fb..766785ac7 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -23,7 +23,7 @@ build_system=${build_system:-autotools} if [ "${build_system}" = "cmake" ]; then mkdir build cd build - cmake ${CMAKE_OPTIONS} .. + cmake ${CMAKE_OPTIONS:-} .. cmake --build . cpack cd ..