aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Porten <porten@kde.org>2008-04-15 21:13:17 +0000
committerHarri Porten <porten@kde.org>2008-04-15 21:13:17 +0000
commitab0a45fb585c6daa64637e7ecbfea7d2028c4844 (patch)
treec3d65a2dd58ee020d8b48a41b8f35324ebc3baee
parent4f82f1f1526b200c1816ecf526045e93e6695a22 (diff)
downloadextra-cmake-modules-ab0a45fb585c6daa64637e7ecbfea7d2028c4844.tar.gz
extra-cmake-modules-ab0a45fb585c6daa64637e7ecbfea7d2028c4844.tar.bz2
Provide variables for detection & use of public KJS API.
svn path=/trunk/KDE/kdelibs/; revision=797436
-rw-r--r--modules/FindKDE4Internal.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index 42a39034..3442503f 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -32,6 +32,7 @@
# KDE4_KFILE_LIBRARY - the kfile library
# KDE4_KHTML_LIBRARY - the khtml library
# KDE4_KJS_LIBRARY - the kjs library
+# KDE4_KJSAPI_LIBRARY - the kjs public api library
# KDE4_KNEWSTUFF2_LIBRARY - the knewstuff2 library
# KDE4_KDNSSD_LIBRARY - the kdnssd library
# KDE4_PHONON_LIBRARY - the phonon library
@@ -57,6 +58,7 @@
# KDE4_KFILE_LIBS - the kfile library and all depending libraries
# KDE4_KHTML_LIBS - the khtml library and all depending libraries
# KDE4_KJS_LIBS - the kjs library and all depending libraries
+# KDE4_KJSAPI_LIBS - the kjs public api library and all depending libraries
# KDE4_KNEWSTUFF2_LIBS - the knewstuff2 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
@@ -368,6 +370,8 @@ else (_kdeBootStrapping)
find_library(KDE4_KJS_LIBRARY NAMES kjs PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
set(KDE4_KJS_LIBS ${kjs_LIB_DEPENDS} ${KDE4_KJS_LIBRARY} )
+ find_library(KDE4_KJSAPI_LIBRARY NAMES kjsapi PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
+ set(KDE4_KJSAPI_LIBS ${kjsapi_LIB_DEPENDS} ${KDE4_KJSAPI_LIBRARY} )
find_library(KDE4_KNEWSTUFF2_LIBRARY NAMES knewstuff2 PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
set(KDE4_KNEWSTUFF2_LIBS ${knewstuff2_LIB_DEPENDS} ${KDE4_KNEWSTUFF2_LIBRARY} )