kowidgetutils now also needs to link to KF5::ConfigCore

parent b9c57a6b
......@@ -14,9 +14,16 @@ set(kowidgetutils_LIB_SRCS
add_library(kowidgetutils SHARED ${kowidgetutils_LIB_SRCS})
generate_export_header(kowidgetutils BASE_NAME kowidgetutils)
# KDE is only used for i18n
target_link_libraries(kowidgetutils Qt5::Core Qt5::Gui Qt5::Xml Qt5::Widgets KF5::I18n)
target_link_libraries(kowidgetutils LINK_INTERFACE_LIBRARIES Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Xml)
target_link_libraries(kowidgetutils
PUBLIC
Qt5::Widgets
Qt5::Gui
Qt5::Xml
Qt5::Core
PRIVATE
KF5::I18n
KF5::ConfigCore
)
set_target_properties(kowidgetutils
PROPERTIES VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION}
......
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