Skip to content

Commit

Permalink
try setting CMAKE_SYSTEM_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jan 4, 2025
1 parent 8e8be3c commit f798dac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f798dac

Please sign in to comment.