Set OSX arch and dep. target in presets

This commit is contained in:
Eidolon 2024-04-01 23:02:31 -05:00
parent 699439d3b7
commit 49a61b6c51

View file

@ -82,14 +82,18 @@
"name": "__osx_x64",
"hidden": true,
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-osx"
"VCPKG_TARGET_TRIPLET": "x64-osx",
"CMAKE_OSX_ARCHITECTURES": "x86_64",
"CMAKE_OSX_DEPLOYMENT_TARGET": "10.15"
}
},
{
"name": "__osx_arm64",
"hidden": true,
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "arm64-osx"
"VCPKG_TARGET_TRIPLET": "arm64-osx",
"CMAKE_OSX_ARCHITECTURES": "arm64",
"CMAKE_OSX_DEPLOYMENT_TARGET": "10.15"
}
},