AppVeyor CI: Fix cmake Release build by passing --config
authorIvan Maidanski <ivmai@mail.ru>
Wed, 26 Jun 2019 19:55:42 +0000 (22:55 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 26 Jun 2019 19:55:42 +0000 (22:55 +0300)
appveyor.yml

index 97efaab..3aa7589 100644 (file)
@@ -41,7 +41,7 @@ install:
 
 build_script:
 - cmd: if [%TARGET%]==[cmake] (
-    cmake %CMAKE_OPTIONS% . && cmake --build . )
+    cmake %CMAKE_OPTIONS% . && cmake --build . --config %CMAKE_CONFIG% )
 - cmd: if [%TARGET%]==[cygwin] (
     C:\cygwin\bin\bash -e -l -c
       "cd /cygdrive/c/projects/bdwgc && ./autogen.sh && ./configure %CONF_OPTIONS% --enable-werror && cat include/config.h && make -j CFLAGS_EXTRA='%CFLAGS_EXTRA%'" )