From f798daca43c6f60fdf08862be8f4f8087882a974 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Sat, 4 Jan 2025 14:23:47 -0800 Subject: [PATCH] try setting CMAKE_SYSTEM_VERSION --- build/build.js | 1 + 1 file changed, 1 insertion(+) 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) {