diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-19 12:43:53 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-19 12:43:53 -0600 |
commit | 463513075024afd2dfbb5e6300285acd8bf2ee27 (patch) | |
tree | 8710d5a12781fa51f7f4325e6207531d8113be73 /libtdepim | |
parent | 26af4d3ef603af10655a85aa4f8e5edb0d507fb1 (diff) | |
download | tdepim-463513075024afd2dfbb5e6300285acd8bf2ee27.tar.gz tdepim-463513075024afd2dfbb5e6300285acd8bf2ee27.zip |
Fix FTBFS
Diffstat (limited to 'libtdepim')
-rw-r--r-- | libtdepim/CMakeLists.txt | 2 | ||||
-rw-r--r-- | libtdepim/ConfigureChecks.cmake | 10 |
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() + |