Skip to content

Commit

Permalink
[qt5-base] fix building with mac dynamic triplet (#32500)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfeuffer authored Jul 14, 2023
1 parent 9c7ddca commit ca4640a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions ports/qt5-base/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,14 @@ elseif(VCPKG_TARGET_IS_LINUX)
list(APPEND DEBUG_OPTIONS "PSQL_LIBS=${PSQL_DEBUG} ${PSQL_PORT_DEBUG} ${PSQL_TYPES_DEBUG} ${PSQL_COMMON_DEBUG} ${SSL_DEBUG} ${EAY_DEBUG} -ldl -lpthread")
endif()
elseif(VCPKG_TARGET_IS_OSX)
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
# Avoid frameworks for vcpkg
list(APPEND CORE_OPTIONS -no-framework)
# Such that Qt executables like moc find their libs. The default path is ../Frameworks
list(APPEND DEBUG_OPTIONS -R ${CURRENT_INSTALLED_DIR}/debug/lib)
list(APPEND RELEASE_OPTIONS -R ${CURRENT_INSTALLED_DIR}/lib)
endif()

list(APPEND CORE_OPTIONS -fontconfig)
if("${VCPKG_TARGET_ARCHITECTURE}" MATCHES "arm64")
FILE(READ "${SOURCE_PATH}/mkspecs/common/macx.conf" _tmp_contents)
Expand Down
2 changes: 1 addition & 1 deletion ports/qt5-base/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "qt5-base",
"version": "5.15.10",
"port-version": 2,
"port-version": 3,
"description": "Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.",
"homepage": "https://www.qt.io/",
"license": null,
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6618,7 +6618,7 @@
},
"qt5-base": {
"baseline": "5.15.10",
"port-version": 2
"port-version": 3
},
"qt5-canvas3d": {
"baseline": "0",
Expand Down
5 changes: 5 additions & 0 deletions versions/q-/qt5-base.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "527c937f1bc15252b1397447900bc93c13f16b5e",
"version": "5.15.10",
"port-version": 3
},
{
"git-tree": "47eb2c538dd9220fcf44ca6a72f1aa64e4fb8d26",
"version": "5.15.10",
Expand Down

0 comments on commit ca4640a

Please sign in to comment.