diff options
author | Laurent Montel <montel@kde.org> | 2006-10-04 06:51:20 +0000 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2006-10-04 06:51:20 +0000 |
commit | 04bc37d29b6a84246df90944cb1d6bd39e9d422b (patch) | |
tree | 02548b05e6b30d85a09d364be746ff976d99bdd0 | |
parent | 9c3b3719fcd6bca896aabea55dfee03853ee735f (diff) | |
download | extra-cmake-modules-04bc37d29b6a84246df90944cb1d6bd39e9d422b.tar.gz extra-cmake-modules-04bc37d29b6a84246df90944cb1d6bd39e9d422b.tar.bz2 |
Add cmake macro for solidifaces lib and knotifyconfig lib
svn path=/trunk/KDE/kdelibs/; revision=592254
-rw-r--r-- | modules/FindKDE4Internal.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 15d7baf5..02c9ab0a 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -40,6 +40,8 @@ # KDE4_KDEFX_LIBRARY - the kdefx library # KDE4_THREADWEAVER_LIBRARY- the threadweaver library # KDE4_SOLID_LIBRARY - the solid library +# KDE4_SOLIDIFACES_LIBRARY - the solidiface library +# KDE4_KNOTIFYCONFIG_LIBRARY- the knotifyconfig library # # Compared to the variables above, the following variables # also contain all of the depending libraries, so the variables below @@ -64,6 +66,8 @@ # KDE4_KDEFX_LIBS - the kdefx library and all depending librairies # KDE4_THREADWEAVER_LIBRARIES- the threadweaver library and all depending libraries # 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 # # This module defines a bunch of variables used as locations # for install directories. They are all interpreted relative @@ -415,9 +419,16 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h) find_library(KDE4_SOLID_LIBRARY NAMES solid PATHS ${KDE4_LIB_INSTALL_DIR} ) set(KDE4_SOLID_LIBS ${solid_LIB_DEPENDS} ${KDE4_SOLID_LIBRARY} ) + find_library(KDE4_SOLIDIFACES_LIBRARY NAMES solidifaces PATHS ${KDE4_LIB_INSTALL_DIR} ) + set(KDE4_SOLIDIFACES_LIBS ${solidifaces_LIB_DEPENDS} ${KDE4_SOLIDIFACES_LIBRARY} ) + find_library(KDE4_THREADWEAVER_LIBRARY NAMES threadweaver PATHS ${KDE4_LIB_INSTALL_DIR} ) set(KDE4_THREADWEAVER_LIBRARIES ${threadweaver_LIB_DEPENDS} ${KDE4_THREADWEAVER_LIBRARY} ) + find_library(KDE4_KNOTIFYCONFIG_LIBRARY NAMES knotifyconfig PATHS ${KDE4_LIB_INSTALL_DIR} ) + set(KDE4_KNOTIFYCONFIG_LIBS ${knotifyconfig_LIB_DEPENDS} ${KDE4_KNOTIFYCONFIG_LIBRARY} ) + + get_filename_component(KDE4_LIB_DIR ${KDE4_KDECORE_LIBRARY} PATH ) |