diff --git a/build/build.js b/build/build.js index aad8505..ee8fd5f 100644 --- a/build/build.js +++ b/build/build.js @@ -45,6 +45,7 @@ async function buildDawnNode() { ...addElemIf(!isWin, '-GNinja'), '-DDAWN_BUILD_NODE_BINDINGS=1', '-DDAWN_USE_X11=OFF', + ...addElemIf(isWin, '-DCMAKE_SYSTEM_VERSION=10.0.26100.0'), ...addElemIf(isMac, '-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk'), ]); if (isWin) {