diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-13 19:19:59 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-13 19:20:30 +0200 |
commit | a3af438d983e3f6ccc43614dd6f27de1b11a07a4 (patch) | |
tree | 1ed2ad3c18748ad0cd61f2e5c63e83b6e4bf15b2 /libtdepim/ConfigureChecks.cmake | |
parent | 25fc13ac37e8b38211a71b6b0e87bd9196afbfbe (diff) | |
download | tdepim-a3af438d983e3f6ccc43614dd6f27de1b11a07a4.tar.gz tdepim-a3af438d983e3f6ccc43614dd6f27de1b11a07a4.zip |
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>
(cherry picked from commit 68cd3324a1decb39ff4ea4900792fd0dfda58123)
Diffstat (limited to 'libtdepim/ConfigureChecks.cmake')
-rw-r--r-- | libtdepim/ConfigureChecks.cmake | 10 |
1 files changed, 1 insertions, 9 deletions
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 ) |