mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix build on macOS
This commit is contained in:
parent
c96663c7bd
commit
afa55e39ce
|
@ -286,7 +286,7 @@ if(QT_STATIC)
|
|||
find_library(QTFREETYPE NAMES qtfreetype)
|
||||
find_library(QTHARFBUZZ NAMES qtharfbuzzng qtharfbuzz)
|
||||
find_library(QTPLATFORMSUPPORT NAMES Qt5PlatformSupport)
|
||||
list(APPEND QT_LIBRARIES Cups Qt5::PrintSupport Qt5::QCocoaIntegrationPlugin Qt5::CoreAudioPlugin Qt5::AVFServicePlugin Qt5::QCocoaPrinterSupportPlugin ${QTPLATFORMSUPPORT} "-framework AVFoundation" "-framework CoreMedia")
|
||||
list(APPEND QT_LIBRARIES Cups Qt5::PrintSupport Qt5::QCocoaIntegrationPlugin Qt5::CoreAudioPlugin Qt5::AVFServicePlugin Qt5::QCocoaPrinterSupportPlugin ${QTPLATFORMSUPPORT} "-framework AVFoundation" "-framework CoreMedia" "-framework SystemConfiguration" "-framework Security")
|
||||
set_target_properties(Qt5::Core PROPERTIES INTERFACE_LINK_LIBRARIES "${QTPCRE};${QTHARFBUZZ};${QTFREETYPE}")
|
||||
link_directories()
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue