Browse Source

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 2 months ago
parent
commit
68cd3324a1
No known key found for this signature in database GPG Key ID: 608F5293A04BE668
2 changed files with 2 additions and 10 deletions
  1. +1
    -1
      libtdepim/CMakeLists.txt
  2. +1
    -9
      libtdepim/ConfigureChecks.cmake

+ 1
- 1
libtdepim/CMakeLists.txt View File

@@ -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}
)



+ 1
- 9
libtdepim/ConfigureChecks.cmake View File

@@ -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