Skip to content

Commit f798dac

Browse files
committed
try setting CMAKE_SYSTEM_VERSION
1 parent 8e8be3c commit f798dac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/build.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ async function buildDawnNode() {
4545
...addElemIf(!isWin, '-GNinja'),
4646
'-DDAWN_BUILD_NODE_BINDINGS=1',
4747
'-DDAWN_USE_X11=OFF',
48+
...addElemIf(isWin, '-DCMAKE_SYSTEM_VERSION=10.0.26100.0'),
4849
...addElemIf(isMac, '-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk'),
4950
]);
5051
if (isWin) {

0 commit comments

Comments
 (0)