File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ set (VCPKG_TARGET_ARCHITECTURE arm64)
2+ set (VCPKG_CRT_LINKAGE dynamic)
3+ set (VCPKG_LIBRARY_LINKAGE static )
4+
5+ set (VCPKG_CMAKE_SYSTEM_NAME Darwin)
6+ set (VCPKG_OSX_ARCHITECTURES arm64)
7+ set (VCPKG_OSX_DEPLOYMENT_TARGET 10.15)
Original file line number Diff line number Diff line change @@ -23,8 +23,10 @@ cd `dirname $0`/../..
2323
2424if [[ $ARCH == " x86_64" ]]; then
2525 export VCPKG_TRIPLET=x64-osx
26+ cp -f x64-osx.cmake vcpkg/triplets/x64-osx.cmake
2627elif [[ $ARCH == " arm64" ]]; then
2728 export VCPKG_TRIPLET=arm64-osx
29+ cp -f arm64-osx.cmake vcpkg/triplets/community/arm64-osx.cmake
2830else
2931 echo " Invalid ARCH: $ARCH "
3032 exit 1
Original file line number Diff line number Diff line change 1+ set (VCPKG_TARGET_ARCHITECTURE x64)
2+ set (VCPKG_CRT_LINKAGE dynamic)
3+ set (VCPKG_LIBRARY_LINKAGE static )
4+
5+ set (VCPKG_CMAKE_SYSTEM_NAME Darwin)
6+ set (VCPKG_OSX_ARCHITECTURES x86_64)
7+ set (VCPKG_OSX_DEPLOYMENT_TARGET 10.15)
You can’t perform that action at this time.
0 commit comments