Skip to content

Commit

Permalink
Add darwin entry to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
LandryNorris committed Jul 7, 2023
1 parent 055a77e commit 3f85765
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/rhsplib/scripts/build-RHSPlib.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ if (platform() === "win32") {
} else if (platform() === "linux") {
hostSuffix = "linuxX64" //handle arm64 host later
configureOptions = ["-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_C_COMPILER=clang", "-DCMAKE_CXX_COMPILER=clang++"];
} else if(platform() === "darwin") {
hostSuffix = "darwin"
configureOptions = ["-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_C_COMPILER=clang", "-DCMAKE_CXX_COMPILER=clang++"];
}

const buildPath = path.join(rhsplibPath, `build-${hostSuffix}`);
Expand Down

0 comments on commit 3f85765

Please sign in to comment.