diff options
Diffstat (limited to 'modules/FindKDE4Internal.cmake')
-rw-r--r-- | modules/FindKDE4Internal.cmake | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 55bfdb74..8c2fd266 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -113,6 +113,30 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h) else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h) + get_filename_component( kde_cmake_module_dir ${CMAKE_CURRENT_LIST_FILE} PATH) + # this file contains all dependencies of all libraries of kdelibs, Alex + include(${kde_cmake_module_dir}/KDELibsDependencies.cmake) + +# the following variables should be named KDE4_KIO_LIBRARIES etc +# Alex + + set(LIB_KDECORE ${QT_AND_KDECORE_LIBS} ${QT_QTGUI_LIBRARY} ${X11_X11_LIB} DCOP ${ZLIB_LIBRARY}) + + # kdeui_LIB_DEPENDS comes from KDELibsDependencies.cmake, Alex + set(LIB_KDEUI ${kdeui_LIB_DEPENDS} kdeui) + +message(STATUS "kdeui: ${LIB_KDEUI}") + + set(LIB_KIO ${LIB_KDEUI} kio) + + set(LIB_KPARTS ${LIB_KIO} kparts) + + set(LIB_KUTILS ${LIB_KPARTS} kutils) + + set(LIB_KDE3SUPPORT ${QT_QT3SUPPORT_LIBRARY} ${LIB_KUTILS} kde3support) + + + # ... but NOT otherwise set( _KDE4_DCOPIDL2CPP_DEP ) set( _KDE4_KCONFIG_COMPILER_DEP) |