aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jarjoura <jarjoura@gmail.com>2020-07-07 14:51:55 -0700
committerGitHub <noreply@github.com>2020-07-07 14:51:55 -0700
commitaa6f70b6652002f145b72c94c5f63bcd5b455d8e (patch)
tree4e64662156f145d13da1a2b8ee0d0ffe1f4539a1
parent33fd93c4aef51921b402dae2fd451068f02bdf5b (diff)
downloadvcpkg-aa6f70b6652002f145b72c94c5f63bcd5b455d8e.tar.gz
vcpkg-aa6f70b6652002f145b72c94c5f63bcd5b455d8e.zip
[triplets][osx] add support for arm64 'apple silicon' (#12259)
* [triplets][osx] add support for arm64 'apple silicon' * [osx] moving to community for now * [osx][triplets] make sure to update .gitignore as well
-rw-r--r--.gitignore1
-rw-r--r--triplets/community/arm64-osx.cmake5
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index c3973b097..d3be89f60 100644
--- a/.gitignore
+++ b/.gitignore
@@ -320,6 +320,7 @@ __pycache__/
!triplets/community/x64-ios.cmake
!triplets/community/x86-ios.cmake
!triplets/community/wasm32-emscripten.cmake
+!triplets/community/arm64-osx.cmake
!triplets/arm-uwp.cmake
!triplets/x64-uwp.cmake
!triplets/x64-windows.cmake
diff --git a/triplets/community/arm64-osx.cmake b/triplets/community/arm64-osx.cmake
new file mode 100644
index 000000000..44c0b2852
--- /dev/null
+++ b/triplets/community/arm64-osx.cmake
@@ -0,0 +1,5 @@
+set(VCPKG_TARGET_ARCHITECTURE arm64)
+set(VCPKG_CRT_LINKAGE dynamic)
+set(VCPKG_LIBRARY_LINKAGE static)
+
+set(VCPKG_CMAKE_SYSTEM_NAME Darwin)