diff --git a/pkg/mac/build-static-library.sh b/pkg/mac/build-static-library.sh index ecdbb115..0f45c438 100755 --- a/pkg/mac/build-static-library.sh +++ b/pkg/mac/build-static-library.sh @@ -23,10 +23,10 @@ cd `dirname $0`/../.. if [[ $ARCH == "x86_64" ]]; then export VCPKG_TRIPLET=x64-osx - cp -f x64-osx.cmake vcpkg/triplets/x64-osx.cmake + cp -f vcpkg-triplets/x64-osx.cmake vcpkg/triplets/x64-osx.cmake elif [[ $ARCH == "arm64" ]]; then export VCPKG_TRIPLET=arm64-osx - cp -f arm64-osx.cmake vcpkg/triplets/community/arm64-osx.cmake + cp -f vcpkg-triplets/arm64-osx.cmake vcpkg/triplets/community/arm64-osx.cmake else echo "Invalid ARCH: $ARCH" exit 1 diff --git a/arm64-osx.cmake b/vcpkg-triplets/arm64-osx.cmake similarity index 87% rename from arm64-osx.cmake rename to vcpkg-triplets/arm64-osx.cmake index e15ff52f..189776c6 100644 --- a/arm64-osx.cmake +++ b/vcpkg-triplets/arm64-osx.cmake @@ -5,3 +5,5 @@ set(VCPKG_LIBRARY_LINKAGE static) set(VCPKG_CMAKE_SYSTEM_NAME Darwin) set(VCPKG_OSX_ARCHITECTURES arm64) set(VCPKG_OSX_DEPLOYMENT_TARGET 13.7) + +set(VCPKG_BUILD_TYPE release) diff --git a/x64-osx.cmake b/vcpkg-triplets/x64-osx.cmake similarity index 87% rename from x64-osx.cmake rename to vcpkg-triplets/x64-osx.cmake index f9864fe5..09daa871 100644 --- a/x64-osx.cmake +++ b/vcpkg-triplets/x64-osx.cmake @@ -5,3 +5,5 @@ set(VCPKG_LIBRARY_LINKAGE static) set(VCPKG_CMAKE_SYSTEM_NAME Darwin) set(VCPKG_OSX_ARCHITECTURES x86_64) set(VCPKG_OSX_DEPLOYMENT_TARGET 13.7) + +set(VCPKG_BUILD_TYPE release)