Parcourir la source

Feat(Depend): win32

viest il y a 6 ans
Parent
commit
68a933da53
1 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. 2 3
      .appveyor.yml

+ 2 - 3
.appveyor.yml

@@ -44,12 +44,11 @@ install:
                 }
                 if (-not (Test-Path c:\build-cache\$lname3\Release)) {
                        cd c:\build-cache\$lname3
+                       $cmakegen = 'Visual Studio 15 2017'
                        if ($env:VC -Match "vc14") {
                               SET GEN="Visual Studio 14 2015"
-                       } else {
-                              SET GEN="Visual Studio 15 2017"
                        }
-                       cmake -G %GEN% -DCMAKE_BUILD_TYPE="Release" -DCMAKE_C_FLAGS_RELEASE="/MT"
+                       cmake -G $cmakegen -DCMAKE_BUILD_TYPE="Release" -DCMAKE_C_FLAGS_RELEASE="/MT"
                        cmake --build . --config %configuration%
                 }