aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2006-11-28 07:48:26 +0000
committerLaurent Montel <montel@kde.org>2006-11-28 07:48:26 +0000
commitf29c6ae2ceb3a97d726c2c82534052e57a6a8c4e (patch)
treee145a47e1c9b60d119ff66ea40ebf2597cb71051
parent93896ee1abdb312b7cb9826b9af0c9f617572a62 (diff)
downloadextra-cmake-modules-f29c6ae2ceb3a97d726c2c82534052e57a6a8c4e.tar.gz
extra-cmake-modules-f29c6ae2ceb3a97d726c2c82534052e57a6a8c4e.tar.bz2
Add KDE4_KROSSCORE_LIBRARY/LIBS variables
svn path=/trunk/KDE/kdelibs/; revision=608729
-rw-r--r--modules/FindKDE4Internal.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index bf327f0f..014f092b 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -42,6 +42,7 @@
# KDE4_SOLID_LIBRARY - the solid library
# KDE4_SOLIDIFACES_LIBRARY - the solidiface library
# KDE4_KNOTIFYCONFIG_LIBRARY- the knotifyconfig library
+# KDE4_KROSSCORE_LIBRARY- the krosscore library
#
# Compared to the variables above, the following variables
# also contain all of the depending libraries, so the variables below
@@ -68,6 +69,7 @@
# KDE4_SOLID_LIBS - the solid library and all depending libraries
# KDE4_SOLIDIFACES_LIBS - the solid iface library and all depending libraries
# KDE4_KNOTIFYCONFIG_LIBS - the knotify config library and all depending libraries
+# KDE4_KROSSCORE_LIBS - the kross core library and all depending libraries
#
# This module defines a bunch of variables used as locations
# for install directories. They are all interpreted relative
@@ -438,6 +440,10 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
find_library(KDE4_KNOTIFYCONFIG_LIBRARY NAMES knotifyconfig PATHS ${KDE4_LIB_INSTALL_DIR} )
set(KDE4_KNOTIFYCONFIG_LIBS ${knotifyconfig_LIB_DEPENDS} ${KDE4_KNOTIFYCONFIG_LIBRARY} )
+ find_library(KDE4_KROSSCORE_LIBRARY NAMES krosscore PATHS ${KDE4_LIB_INSTALL_DIR} )
+ set(KDE4_KROSSCORE_LIBS ${krosscore_LIB_DEPENDS} ${KDE4_KROSSCORE_LIBRARY} )
+
+
get_filename_component(KDE4_LIB_DIR ${KDE4_KDECORE_LIBRARY} PATH )