From 763d072a6ff025aea019774c0b041042fdc5314b Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Fri, 3 Jan 2025 20:18:02 -0800 Subject: [PATCH] -target -> --target --- build/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.js b/build/build.js index 688c36c..94b30a8 100644 --- a/build/build.js +++ b/build/build.js @@ -48,7 +48,7 @@ async function buildDawnNode() { ...addElemIf(isMac, '-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk'), ]); if (isWin) { - await execute('cmake', ['--build', '.', '-target', 'dawn.node']) + await execute('cmake', ['--build', '.', '--target', 'dawn.node']) } else { await execute('ninja', ['dawn.node']); }