aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-04-03 20:08:01 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-04-03 20:08:01 +0000
commitbd1ee12c6454751db3a3d0229cf8632c4e5f1de8 (patch)
treedbbd5618ba642b7176f3de4538a5c8661fa0cf3e
parent7125c6eb7164a8ab94f829094ff92c948722415e (diff)
downloadextra-cmake-modules-bd1ee12c6454751db3a3d0229cf8632c4e5f1de8.tar.gz
extra-cmake-modules-bd1ee12c6454751db3a3d0229cf8632c4e5f1de8.tar.bz2
-add a KDE4_KDESU_LIBS variables, so we have a full path and it can't be mixed up with the kdesu target
Alex svn path=/trunk/KDE/kdelibs/; revision=526087
-rw-r--r--modules/FindKDE4Internal.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index ef3ca780..83e53d9c 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -56,6 +56,7 @@
# KDE4_KDEPRINT_LIBS - the kdeprint library and all depending libraries
# KDE4_KSPELL2_LIBS - the kspell2 library and all depending libraries
# KDE4_KDNSSD_LIBS - the kdnssd library and all depending libraries
+# KDE4_KDESU_LIBS - the kdesu library and all depending libraries
#
#
# This module defines a bunch of variables used as locations
@@ -210,7 +211,7 @@ option(KDE4_USE_QT_EMB "link to Qt-embedded, don't use X")
# RPATH handling
-set(RPATH_STYLE "default" CACHE STRING "Determine RAPTH handling")
+set(RPATH_STYLE "default" CACHE STRING "Determine RPATH handling")
set(KDE4_NEED_WRAPPER_SCRIPTS FALSE)
if (UNIX)
@@ -339,6 +340,9 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
find_library(KDE4_KSPELL2_LIBRARY NAMES kspell2 PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
set(KDE4_KSPELL2_LIBS ${kspell2_LIB_DEPENDS} ${KDE4_KSPELL2_LIBRARY} )
+ find_library(KDE4_KDESU_LIBRARY NAMES kdesu PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
+ set(KDE4_KDESU_LIBS ${kdesu_LIB_DEPENDS} ${KDE4_KDESU_LIBRARY} )
+
find_library(KDE4_KDNSSD_LIBRARY NAMES kdnssd PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
set(KDE4_KDNSSD_LIBS ${kdnssd_LIB_DEPENDS} ${KDE4_KDNSSD_LIBRARY} )