From c96e051aa3f8f1ab08ca91633dd051be99727c16 Mon Sep 17 00:00:00 2001 From: Alexandre Mutel Date: Tue, 20 Feb 2024 07:15:12 +0100 Subject: [PATCH] Fix build on macOS --- ext/build_monocypher_native.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/build_monocypher_native.ps1 b/ext/build_monocypher_native.ps1 index e724646..4eb81e2 100755 --- a/ext/build_monocypher_native.ps1 +++ b/ext/build_monocypher_native.ps1 @@ -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) {