Skip to content

Commit e0b2ecf

Browse files
committed
Speed up dependencies build by only building release libraries
1 parent b63fb20 commit e0b2ecf

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

pkg/mac/build-static-library.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ cd `dirname $0`/../..
2323

2424
if [[ $ARCH == "x86_64" ]]; then
2525
export VCPKG_TRIPLET=x64-osx
26-
cp -f x64-osx.cmake vcpkg/triplets/x64-osx.cmake
26+
cp -f vcpkg-triplets/x64-osx.cmake vcpkg/triplets/x64-osx.cmake
2727
elif [[ $ARCH == "arm64" ]]; then
2828
export VCPKG_TRIPLET=arm64-osx
29-
cp -f arm64-osx.cmake vcpkg/triplets/community/arm64-osx.cmake
29+
cp -f vcpkg-triplets/arm64-osx.cmake vcpkg/triplets/community/arm64-osx.cmake
3030
else
3131
echo "Invalid ARCH: $ARCH"
3232
exit 1
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ set(VCPKG_LIBRARY_LINKAGE static)
55
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
66
set(VCPKG_OSX_ARCHITECTURES arm64)
77
set(VCPKG_OSX_DEPLOYMENT_TARGET 13.7)
8+
9+
set(VCPKG_BUILD_TYPE release)

x64-osx.cmake renamed to vcpkg-triplets/x64-osx.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ set(VCPKG_LIBRARY_LINKAGE static)
55
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
66
set(VCPKG_OSX_ARCHITECTURES x86_64)
77
set(VCPKG_OSX_DEPLOYMENT_TARGET 13.7)
8+
9+
set(VCPKG_BUILD_TYPE release)

0 commit comments

Comments
 (0)