PrismLauncher/cmake/vcpkg-triplets/universal-osx.cmake
Seth Flynn 5c8ce8db66
build(vcpkg): add univesal-osx triplet
vcpkg doesn't officially support universal binaries, but this should
function as a workaround until it does one day

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-07-13 16:33:35 -04:00

8 lines
302 B
CMake

# 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")