Skip to content

Commit

Permalink
Fix build on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed Feb 20, 2024
1 parent 7326dd3 commit c96e051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/build_monocypher_native.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ function Build-Project {
$NETPlatform = "osx"
$NETSharedLibExtension = "dylib"
if ($NETArch -eq "arm64") {
$CMakeArch = "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 -DCMAKE_OSX_ARCHITECTURES='arm64'"
$CMakeArch = "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.10", "-DCMAKE_OSX_ARCHITECTURES=arm64"
}
elseif ($NETArch -eq "x64") {
$CMakeArch = "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 -DCMAKE_OSX_ARCHITECTURES='x86_64'"
$CMakeArch = "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.10", "-DCMAKE_OSX_ARCHITECTURES=x86_64"
}
}
elseif ($IsWindows) {
Expand Down

0 comments on commit c96e051

Please sign in to comment.