summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libtdepim/CMakeLists.txt2
-rw-r--r--libtdepim/ConfigureChecks.cmake10
2 files changed, 2 insertions, 10 deletions
diff --git a/libtdepim/CMakeLists.txt b/libtdepim/CMakeLists.txt
index f1de8d99c..15394c1e5 100644
--- a/libtdepim/CMakeLists.txt
+++ b/libtdepim/CMakeLists.txt
@@ -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}
)
diff --git a/libtdepim/ConfigureChecks.cmake b/libtdepim/ConfigureChecks.cmake
index d2a8f1ff2..b91f0f8f6 100644
--- a/libtdepim/ConfigureChecks.cmake
+++ b/libtdepim/ConfigureChecks.cmake
@@ -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 )