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:
committed by
Dominik Schmidt
parent
00f602e102
commit
34c1f88171
@@ -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})
|
||||
|
Reference in New Issue
Block a user