mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00

Configure the build using -DUSE_VCPKG=ON to use vcpkg. By default recommended triplets targeting the OS versions official builds support are used. You can opt out of this with -DUSE_RECOMMENDED_TRIPLETS=OFF.
13 lines
372 B
CMake
13 lines
372 B
CMake
set(VCPKG_TARGET_ARCHITECTURE arm64)
|
|
set(VCPKG_CRT_LINKAGE dynamic)
|
|
set(VCPKG_LIBRARY_LINKAGE static)
|
|
|
|
set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
|
|
set(VCPKG_CMAKE_SYSTEM_VERSION 11.0)
|
|
set(VCPKG_OSX_ARCHITECTURES arm64)
|
|
set(VCPKG_BUILD_TYPE release)
|
|
set(VCPKG_OSX_DEPLOYMENT_TARGET 11.0)
|
|
|
|
set(VCPKG_C_FLAGS -mmacosx-version-min=11.0)
|
|
set(VCPKG_CXX_FLAGS -mmacosx-version-min=11.0)
|