aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2006-06-02 10:07:52 +0000
committerLaurent Montel <montel@kde.org>2006-06-02 10:07:52 +0000
commit74c1e9e453f583f82ee51908309535ab5b8184d3 (patch)
treeb0f4f04af2d81d1a5e71e2832f1366bc3e5d6e9b
parenta93dc995227d4ad66b1fb781842276130618b6ff (diff)
downloadextra-cmake-modules-74c1e9e453f583f82ee51908309535ab5b8184d3.tar.gz
extra-cmake-modules-74c1e9e453f583f82ee51908309535ab5b8184d3.tar.bz2
Add macro for phononcore/phononui lib
svn path=/trunk/KDE/kdelibs/; revision=547477
-rw-r--r--modules/FindKDE4Internal.cmake12
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index 2e4d2810..1fa1809b 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -35,6 +35,8 @@
# KDE4_KDEPRINT_LIBRARY - the kdeprint library
# KDE4_KSPELL2_LIBRARY - the kspell2 library
# KDE4_KDNSSD_LIBRARY - the kdnssd library
+# KDE4_PHONONCORE_LIBRARY - the phononcore library
+# KDE4_PHONONUI_LIBRARY - the phononui library
#
# Compared to the variables above, the following variables
# also contain all of the depending libraries, so the variables below
@@ -54,7 +56,8 @@
# 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
-#
+# KDE4_PHONONCORE_LIBS - the phononcore library and all depending librairies
+# KDE4_PHONONUI_LIBS - the phononui library and all depending librairies
#
# This module defines a bunch of variables used as locations
# for install directories. They are all interpreted relative
@@ -334,6 +337,13 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
find_library(KDE4_KXMLCORE_LIBRARY NAMES kxmlcore PATHS ${KDE4_LIB_INSTALL_DIR} )
set(KDE4_KXMLCORE_LIBRARIES ${kxmlcore_LIB_DEPENDS} ${KDE4_KXMLCORE_LIBRARY} )
+ find_library(KDE4_PHONONCORE_LIBRARY NAMES phononcore PATHS ${KDE4_LIB_INSTALL_DIR} )
+ set(KDE4_PHONONUI_LIBRARIES ${phononcore_LIB_DEPENDS} ${KDE4_PHONONCORE_LIBRARY} )
+
+ find_library(KDE4_PHONONUI_LIBRARY NAMES phononui PATHS ${KDE4_LIB_INSTALL_DIR} )
+ set(KDE4_PHONONUI_LIBRARIES ${phononui_LIB_DEPENDS} ${KDE4_PHONONUI_LIBRARY} )
+
+
get_filename_component(KDE4_LIB_DIR ${KDE4_KDECORE_LIBRARY} PATH )