aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2006-12-14 17:01:59 +0000
committerLaurent Montel <montel@kde.org>2006-12-14 17:01:59 +0000
commit2788b2c50704edc8796dee0a4f7200a4e36b2d19 (patch)
treed99a8a632d49d00c005ff0aa156beab00c16ae08
parent66b05f70b209fb8db4e8e9a2f2f8064c5e55ed59 (diff)
downloadextra-cmake-modules-2788b2c50704edc8796dee0a4f7200a4e36b2d19.tar.gz
extra-cmake-modules-2788b2c50704edc8796dee0a4f7200a4e36b2d19.tar.bz2
Add KDE4_KTEXTEDITOR_LIBS variable
svn path=/trunk/KDE/kdelibs/; revision=613684
-rw-r--r--modules/FindKDE4Internal.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index 2bc441d0..61f3fd65 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -43,6 +43,7 @@
# KDE4_SOLIDIFACES_LIBRARY - the solidiface library
# KDE4_KNOTIFYCONFIG_LIBRARY- the knotifyconfig library
# KDE4_KROSSCORE_LIBRARY- the krosscore library
+# KDE4_KTEXTEDITOR_LIBRARY - the ktexteditor library
#
# Compared to the variables above, the following variables
# also contain all of the depending libraries, so the variables below
@@ -70,6 +71,7 @@
# 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
+# KDE4_KTEXTEDITOR_LIBS - the ktexteditor library and all depending libraries
#
# This module defines a bunch of variables used as locations
# for install directories. They are all interpreted relative
@@ -443,7 +445,8 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
find_library(KDE4_KROSSCORE_LIBRARY NAMES krosscore PATHS ${KDE4_LIB_INSTALL_DIR} )
set(KDE4_KROSSCORE_LIBS ${krosscore_LIB_DEPENDS} ${KDE4_KROSSCORE_LIBRARY} )
-
+ find_library(KDE4_KTEXTEDITOR_LIBRARY NAMES ktexteditor PATHS ${KDE4_LIB_INSTALL_DIR} )
+ set(KDE4_KTEXTEDITOR_LIBS ${ktexteditor_LIB_DEPENDS} ${KDE4_KTEXTEDITOR_LIBRARY} )
get_filename_component(KDE4_LIB_DIR ${KDE4_KDECORE_LIBRARY} PATH )