summaryrefslogtreecommitdiffstats
path: root/libtdepim
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-19 12:43:53 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-19 12:43:53 -0600
commit463513075024afd2dfbb5e6300285acd8bf2ee27 (patch)
tree8710d5a12781fa51f7f4325e6207531d8113be73 /libtdepim
parent26af4d3ef603af10655a85aa4f8e5edb0d507fb1 (diff)
downloadtdepim-463513075024afd2dfbb5e6300285acd8bf2ee27.tar.gz
tdepim-463513075024afd2dfbb5e6300285acd8bf2ee27.zip
Fix FTBFS
Diffstat (limited to 'libtdepim')
-rw-r--r--libtdepim/CMakeLists.txt2
-rw-r--r--libtdepim/ConfigureChecks.cmake10
2 files changed, 11 insertions, 1 deletions
diff --git a/libtdepim/CMakeLists.txt b/libtdepim/CMakeLists.txt
index 19ca1d524..0b8537d3f 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 kimproxy-shared kparts-shared qui
+ LINK kcal-shared kimproxy-shared kparts-shared ${TQUI_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)
diff --git a/libtdepim/ConfigureChecks.cmake b/libtdepim/ConfigureChecks.cmake
index 96e1e621a..d2a8f1ff2 100644
--- a/libtdepim/ConfigureChecks.cmake
+++ b/libtdepim/ConfigureChecks.cmake
@@ -8,3 +8,13 @@
# This file is released under GPL >= 2
#
#################################################
+
+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()
+