]> granicus.if.org Git - graphviz/commitdiff
ci/build.sh: CMake: use fallback for unset CMAKE_OPTIONS
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 5 Sep 2021 07:55:50 +0000 (09:55 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Tue, 7 Sep 2021 05:55:36 +0000 (07:55 +0200)
This is no functional change but will allow treating unset variables
as errors in an upcoming commit.

ci/build.sh

index 72dc530fb3d641f5a3e28e9fb3894eae65e0af3d..766785ac729f98cc70f7e381b4506c30a9a076f7 100755 (executable)
@@ -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 ..