libtdepim: Use the pkg-config file to find the TQtQUI library

instead of specifying a library name based on the TQt library name.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/41/head
Slávek Banko 5 years ago
parent fc457719cf
commit 68cd3324a1
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -98,7 +98,7 @@ tde_add_library( tdepim SHARED AUTOMOC
csshelper.cpp distributionlist.cpp kpimurlrequesterdlg.cpp
sendsmsdialog.cpp kmailcompletion.cpp
VERSION 1.0.0
LINK kcal-shared tdeimproxy-shared tdeparts-shared ${TQUI_LIBRARIES}
LINK kcal-shared tdeimproxy-shared tdeparts-shared ${TQTQUI_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)

@ -9,12 +9,4 @@
#
#################################################
foreach( f ${TQT_LIBRARIES} )
if( ${f} STREQUAL "tqt-mt" )
set(TQUI_LIBRARIES "tqui" CACHE TYPE STRING FORCE)
endif()
if( ${f} STREQUAL "qt-mt" )
set(TQUI_LIBRARIES "qui" CACHE TYPE STRING FORCE)
endif()
endforeach()
find_package( TQtQUI )

Loading…
Cancel
Save