Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit bdeaf655 authored by Linus Jahn's avatar Linus Jahn

CMake: UT: Fix linking (tried to use QWidgets)

parent d5a3a866
...@@ -46,6 +46,7 @@ if(NOT UBUNTU_TOUCH) ...@@ -46,6 +46,7 @@ if(NOT UBUNTU_TOUCH)
if(Qt5Widgets_FOUND) if(Qt5Widgets_FOUND)
add_definitions(-DHAVE_QWIDGETS) add_definitions(-DHAVE_QWIDGETS)
set(__Qt5Widgets_LIBRARIES Qt5::Widgets)
endif() endif()
endif() endif()
...@@ -97,7 +98,7 @@ target_link_libraries(${PROJECT_NAME} ...@@ -97,7 +98,7 @@ target_link_libraries(${PROJECT_NAME}
Qt5::Sql Qt5::Sql
Qt5::Qml Qt5::Qml
Qt5::Quick Qt5::Quick
Qt5::Widgets ${__Qt5Widgets_LIBRARIES}
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment