1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-18 03:41:27 +02:00

Fix build with Qt 5.11_beta3 (dropping qt5_use_modules)

This commit is contained in:
Andreas Sturmlechner
2018-04-17 13:09:25 +02:00
committed by Dominik Schmidt
parent 00f602e102
commit 34c1f88171
12 changed files with 26 additions and 34 deletions

View File

@@ -46,7 +46,7 @@ function(tomahawk_add_library)
endif()
# HACK: add qt modules - every lib should define its own set of modules
qt5_use_modules(${target} Core Network Widgets Sql Xml ${LIBRARY_QT5_MODULES})
target_link_libraries(${target} Qt5::Core Qt5::Network Qt5::Widgets Qt5::Sql Qt5::Xml)
# definitions - can this be moved into set_target_properties below?
add_definitions(${QT_DEFINITIONS})