From 4f13d6f665849325902abcbf307419f7bb02b125 Mon Sep 17 00:00:00 2001 From: B3n30 Date: Mon, 20 Nov 2017 16:39:31 +0100 Subject: [PATCH] Appveyor: on mingw set cmake version to 3.9.6 (#3141) Appveyor: on mingw set cmake version to 3.9.6 --- appveyor.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 3d99e2f20..5fd7c6490 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,14 +26,15 @@ install: - git submodule update --init --recursive - ps: | if ($env:BUILD_TYPE -eq 'mingw') { - $dependencies = "mingw64/mingw-w64-x86_64-cmake", - "mingw64/mingw-w64-x86_64-qt5", + $dependencies = "mingw64/mingw-w64-x86_64-qt5", "mingw64/mingw-w64-x86_64-curl" # redirect err to null to prevent warnings from becoming errors # workaround to prevent pacman from failing due to cyclical dependencies C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw64/mingw-w64-x86_64-freetype mingw64/mingw-w64-x86_64-fontconfig" 2> $null C:\msys64\usr\bin\bash -lc "pacman --noconfirm -U http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-SDL2-2.0.5-2-any.pkg.tar.xz" 2> $null C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S $dependencies" 2> $null + # stick to cmake 3.9.6 since on lower versions it could happen that cmake generates a Makefile that links against gcc_eh + C:\msys64\usr\bin\bash -lc "pacman --noconfirm -U http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-cmake-3.9.6-1-any.pkg.tar.xz" 2> $null } before_build: