summaryrefslogtreecommitdiff
path: root/archived/projt-launcher/cmake/vcpkg-triplets/universal-osx.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'archived/projt-launcher/cmake/vcpkg-triplets/universal-osx.cmake')
-rw-r--r--archived/projt-launcher/cmake/vcpkg-triplets/universal-osx.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/archived/projt-launcher/cmake/vcpkg-triplets/universal-osx.cmake b/archived/projt-launcher/cmake/vcpkg-triplets/universal-osx.cmake
new file mode 100644
index 0000000000..1c91a5650e
--- /dev/null
+++ b/archived/projt-launcher/cmake/vcpkg-triplets/universal-osx.cmake
@@ -0,0 +1,8 @@
+# See https://github.com/microsoft/vcpkg/discussions/19454
+# NOTE: Try to keep in sync with default arm64-osx definition
+set(VCPKG_TARGET_ARCHITECTURE x64)
+set(VCPKG_CRT_LINKAGE dynamic)
+set(VCPKG_LIBRARY_LINKAGE static)
+
+set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
+set(VCPKG_OSX_ARCHITECTURES "arm64;x86_64")