mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[qt5-*] Make QT and dependents build on arm macos (#18567)
* [qt5-*] Make it build on ARM64 macos * [qt5-base] update port version
This commit is contained in:
parent
a7d3367cec
commit
d1d672d756
@ -306,6 +306,11 @@ elseif(VCPKG_TARGET_IS_LINUX)
|
||||
endif()
|
||||
elseif(VCPKG_TARGET_IS_OSX)
|
||||
list(APPEND CORE_OPTIONS -fontconfig)
|
||||
if("${VCPKG_TARGET_ARCHITECTURE}" MATCHES "arm64")
|
||||
FILE(READ "${SOURCE_PATH}/mkspecs/common/macx.conf" _tmp_contents)
|
||||
string(REPLACE "QMAKE_APPLE_DEVICE_ARCHS = x86_64" "QMAKE_APPLE_DEVICE_ARCHS = arm64" _tmp_contents ${_tmp_contents})
|
||||
FILE(WRITE "${SOURCE_PATH}/mkspecs/common/macx.conf" ${_tmp_contents})
|
||||
endif()
|
||||
if(DEFINED VCPKG_OSX_DEPLOYMENT_TARGET)
|
||||
set(ENV{QMAKE_MACOSX_DEPLOYMENT_TARGET} ${VCPKG_OSX_DEPLOYMENT_TARGET})
|
||||
else()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "qt5-base",
|
||||
"version-semver": "5.15.2",
|
||||
"port-version": 8,
|
||||
"port-version": 9,
|
||||
"description": "Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.",
|
||||
"homepage": "https://www.qt.io/",
|
||||
"dependencies": [
|
||||
|
@ -5090,7 +5090,7 @@
|
||||
},
|
||||
"qt5-base": {
|
||||
"baseline": "5.15.2",
|
||||
"port-version": 8
|
||||
"port-version": 9
|
||||
},
|
||||
"qt5-canvas3d": {
|
||||
"baseline": "0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2362119eaacd46f6d1b0d27bac82b8851d84448f",
|
||||
"version-semver": "5.15.2",
|
||||
"port-version": 9
|
||||
},
|
||||
{
|
||||
"git-tree": "78428fb3d23edf667e96afe8ea0292efc12e44a0",
|
||||
"version-semver": "5.15.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user