Fix Qt 5 build (#6246)

This commit is contained in:
Jonas Kvinge 2019-01-02 16:02:34 +01:00 committed by John Maguire
parent 453270c8b5
commit 09538d84f2
2 changed files with 7 additions and 10 deletions

View File

@ -29,4 +29,9 @@ endif()
add_library(Qocoa STATIC
${SOURCES} ${MOC_SOURCES} ${RESOURCES_SOURCES}
)
target_link_libraries(Qocoa Qt5::Widgets Qt5::MacExtras)
if(APPLE)
target_link_libraries(Qocoa Qt5::Widgets Qt5::MacExtras)
else()
target_link_libraries(Qocoa Qt5::Widgets)
endif()

View File

@ -1245,21 +1245,13 @@ target_link_libraries(clementine_lib
libclementine-tagreader
libclementine-remote
Qt5::Concurrent
Qt5::Core
Qt5::Network
Qt5::OpenGL
Qt5::OpenGL
Qt5::Sql
Qt5::Widgets
Qt5::Xml
${TAGLIB_LIBRARIES}
${MYGPOQT5_LIBRARIES}
${CHROMAPRINT_LIBRARIES}
${GOBJECT_LIBRARIES}
${GLIB_LIBRARIES}
${GIO_LIBRARIES}
${QT_LIBRARIES}
${GSTREAMER_BASE_LIBRARIES}
${GSTREAMER_LIBRARIES}
${GSTREAMER_APP_LIBRARIES}