Browse Source

[ci] use newer windows SDK for building hashlink

Dan Korostelev 4 years ago
parent
commit
7155e194e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/runci/targets/Hl.hx

+ 1 - 1
tests/runci/targets/Hl.hx

@@ -43,7 +43,7 @@ class Hl {
         }
         }
 
 
         FileSystem.createDirectory(hlBuild);
         FileSystem.createDirectory(hlBuild);
-        var generator = systemName == "Windows" ? [] : ["-GNinja"];
+        var generator = systemName == "Windows" ? ["-DCMAKE_SYSTEM_VERSION=10.0.19041.0"] : ["-GNinja"];
         runCommand("cmake", generator.concat([
         runCommand("cmake", generator.concat([
             "-DBUILD_TESTING=OFF",
             "-DBUILD_TESTING=OFF",
             "-DWITH_BULLET=OFF",
             "-DWITH_BULLET=OFF",