From fb86f9de5a26c700175a3c63a6276cbf47112a0f Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 5 Sep 2021 09:55:50 +0200 Subject: [PATCH] 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. --- ci/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .. -- 2.40.0