
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>
8 lines
302 B
CMake
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")
|