aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2007-01-22 08:29:15 +0000
committerLaurent Montel <montel@kde.org>2007-01-22 08:29:15 +0000
commitc9a813a3d7b039c1d59891497cbbe6c3bd96d612 (patch)
tree2f41e474885e27296971d3c5eee3cf10a59a1c1e /modules
parent4580cac70f48c503803c0e776e2e10a1240e3e07 (diff)
downloadextra-cmake-modules-c9a813a3d7b039c1d59891497cbbe6c3bd96d612.tar.gz
extra-cmake-modules-c9a813a3d7b039c1d59891497cbbe6c3bd96d612.tar.bz2
Add kwalletclient cmake macro
svn path=/trunk/KDE/kdelibs/; revision=626117
Diffstat (limited to 'modules')
-rw-r--r--modules/FindKDE4Internal.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index 6322bd75..f2577f89 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -45,6 +45,7 @@
# KDE4_KNOTIFYCONFIG_LIBRARY- the knotifyconfig library
# KDE4_KROSSCORE_LIBRARY- the krosscore library
# KDE4_KTEXTEDITOR_LIBRARY - the ktexteditor library
+# KDE4_KWALLETCLIENT_LIBRARY - the kwalletclient library
#
# Compared to the variables above, the following variables
# also contain all of the depending libraries, so the variables below
@@ -73,6 +74,7 @@
# KDE4_KNOTIFYCONFIG_LIBS - the knotify config library and all depending libraries
# KDE4_KROSSCORE_LIBS - the kross core library and all depending libraries
# KDE4_KTEXTEDITOR_LIBS - the ktexteditor library and all depending libraries
+# KDE4_KWALLETCLIENT_LIBS - the kwallet client library and all depending libraries
#
# This module defines a bunch of variables used as locations
# for install directories. They are all interpreted relative
@@ -465,6 +467,9 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kernel/kglobal.h)
find_library(KDE4_KTEXTEDITOR_LIBRARY NAMES ktexteditor PATHS ${KDE4_LIB_INSTALL_DIR} )
set(KDE4_KTEXTEDITOR_LIBS ${ktexteditor_LIB_DEPENDS} ${KDE4_KTEXTEDITOR_LIBRARY} )
+ find_library(KDE4_KWALLETCLIENT_LIBRARY NAMES kwalletclient PATHS ${KDE4_LIB_INSTALL_DIR} )
+ set(KDE4_KWALLETCLIENT_LIBS ${kwalletclient_LIB_DEPENDS} ${KDE4_KWALLETCLIENT_LIBRARY} )
+
get_filename_component(KDE4_LIB_DIR ${KDE4_KDECORE_LIBRARY} PATH )