diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8a6f12e..feaa065 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -25,6 +25,7 @@ find_package(Boost COMPONENTS system filesystem REQUIRED) SET( SONAME_MAJOR ${YUI_SO_MAJOR} ) SET( SONAME ${YUI_SO_VERSION} ) +PKG_CHECK_MODULES(YUIQT REQUIRED libyui-qt) PKG_CHECK_MODULES(YUIMGA REQUIRED libyui-mga) # @@ -93,6 +94,7 @@ target_compile_definitions( ${TARGETLIB} PUBLIC VERSION="${VERSION}" ) target_link_directories( ${TARGETLIB} PUBLIC ${YUI_LIBRARY_DIRS} PUBLIC ${YUIMGA_LIBRARY_DIRS} + PUBLIC ${YUIQT_LIBRARY_DIRS} ) @@ -101,6 +103,7 @@ target_link_directories( ${TARGETLIB} # If in doubt what is really needed, check with "ldd -u" which libs are unused. target_link_libraries( ${TARGETLIB} ${YUI_LIBRARIES} + ${YUIQT_LIBRARIES} ${YUIMGA_LIBRARIES} Qt5::Core Qt5::Gui