appveyor fix

This commit is contained in:
Vadim Grigoruk 2018-09-26 10:15:32 +03:00
parent c82f50559b
commit dee553a4d8
1 changed files with 4 additions and 2 deletions

View File

@ -6,9 +6,11 @@ environment:
- COMPILER: MSVC15 - COMPILER: MSVC15
- COMPILER: MinGW-w64 - COMPILER: MinGW-w64
install: git submodule update --init --recursive install:
- git submodule update --init --recursive
- if [%COMPILER%]==[MinGW-w64] set PATH=C:\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\bin;%PATH%
build_script: build_script:
- if [%COMPILER%]==[MSVC15] cmake -G "Visual Studio 15 2017" -DCMAKE_BUILD_TYPE=MinSizeRel .
- if [%COMPILER%]==[MinGW-w64] cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_SH=CMAKE_SH-NOTFOUND . - if [%COMPILER%]==[MinGW-w64] cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_SH=CMAKE_SH-NOTFOUND .
- if [%COMPILER%]==[MSVC15] cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=MinSizeRel .
- cmake --build . - cmake --build .