From eb50ded2254b45fd2fb72b2c7475ea73bc74420f Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Fri, 26 Nov 2021 06:41:23 +0100 Subject: [PATCH] ci/mingw-build.sh: set CMAKE_OPTIONS only when using CMake --- ci/mingw-build.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ci/mingw-build.sh b/ci/mingw-build.sh index f53f40bd0..d9c732874 100644 --- a/ci/mingw-build.sh +++ b/ci/mingw-build.sh @@ -6,8 +6,10 @@ ci/mingw-install.sh export PATH=$PATH:/c/Git/cmd -# use the libs installed with pacman instead of those in -# https://gitlab.com/graphviz/graphviz-windows-dependencies -export CMAKE_OPTIONS=-Duse_win_pre_inst_libs=OFF +if [ "${build_system}" = "cmake" ]; then + # use the libs installed with pacman instead of those in + # https://gitlab.com/graphviz/graphviz-windows-dependencies + export CMAKE_OPTIONS=-Duse_win_pre_inst_libs=OFF +fi ci/build.sh -- 2.40.0