mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-24 11:36:14 +00:00
Merge pull request #3204
e86fa3e
cmake: workaround for MacOS '-framework' pkg-config flags issue (xiphon)
This commit is contained in:
commit
770a7a344b
1 changed files with 3 additions and 0 deletions
|
@ -272,6 +272,9 @@ if(QT5_PKG_CONFIG_FOUND)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(UNIX AND CMAKE_PREFIX_PATH)
|
if(UNIX AND CMAKE_PREFIX_PATH)
|
||||||
|
if(APPLE)
|
||||||
|
list(JOIN ${QT5_PKG_CONFIG}_LDFLAGS_OTHER " " ${QT5_PKG_CONFIG}_LDFLAGS_OTHER)
|
||||||
|
endif()
|
||||||
# temporal workaround for https://bugreports.qt.io/browse/QTBUG-80922
|
# temporal workaround for https://bugreports.qt.io/browse/QTBUG-80922
|
||||||
STRING(REPLACE "${QT5_PKG_CONFIG_Qt5Core_PREFIX}" "${CMAKE_PREFIX_PATH}" ${QT5_PKG_CONFIG}_LDFLAGS_OTHER "${${QT5_PKG_CONFIG}_LDFLAGS_OTHER}")
|
STRING(REPLACE "${QT5_PKG_CONFIG_Qt5Core_PREFIX}" "${CMAKE_PREFIX_PATH}" ${QT5_PKG_CONFIG}_LDFLAGS_OTHER "${${QT5_PKG_CONFIG}_LDFLAGS_OTHER}")
|
||||||
STRING(REPLACE "${QT5_PKG_CONFIG_Qt5Core_PREFIX}" "${CMAKE_PREFIX_PATH}" ${QT5_PKG_CONFIG}_LIBRARIES "${${QT5_PKG_CONFIG}_LIBRARIES}")
|
STRING(REPLACE "${QT5_PKG_CONFIG_Qt5Core_PREFIX}" "${CMAKE_PREFIX_PATH}" ${QT5_PKG_CONFIG}_LIBRARIES "${${QT5_PKG_CONFIG}_LIBRARIES}")
|
||||||
|
|
Loading…
Reference in a new issue