diff options
author | Oswald Buddenhagen <ossi@kde.org> | 2007-10-02 23:45:16 +0000 |
---|---|---|
committer | Oswald Buddenhagen <ossi@kde.org> | 2007-10-02 23:45:16 +0000 |
commit | 51d39c2e434b820c555dc249d47e69c840d9db00 (patch) | |
tree | c4ad9ac9cf9ce0e4a485b5b646b310440011a133 | |
parent | 1c2cdb9af5e5c766014dcd7396e94af7cae25872 (diff) | |
download | extra-cmake-modules-51d39c2e434b820c555dc249d47e69c840d9db00.tar.gz extra-cmake-modules-51d39c2e434b820c555dc249d47e69c840d9db00.tar.bz2 |
extract kpty* into an own lib
svn path=/trunk/KDE/kdelibs/; revision=720322
-rw-r--r-- | modules/FindKDE4Internal.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 9bc4888a..778a4534 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -62,6 +62,7 @@ # KDE4_KDEPRINT_LIBS - the kdeprint 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_KPTY_LIBS - the kpty library and all depending libraries # KDE4_PHONON_LIBS - the phonon library and all depending librairies # KDE4_THREADWEAVER_LIBRARIES- the threadweaver library and all depending libraries # KDE4_SOLID_LIBS - the solid library and all depending libraries @@ -254,6 +255,9 @@ if (_kdeBootStrapping) set(KDE4_KDEUI_LIBS ${KDE4_KDECORE_LIBS} kdeui) set(KDE4_KIO_LIBS ${KDE4_KDEUI_LIBS} kio) set(KDE4_KPARTS_LIBS ${KDE4_KIO_LIBS} kparts) + if (UNIX) + set(KDE4_KPTY_LIBS ${KDE4_KDECORE_LIBS} kpty) + endif (UNIX) set(KDE4_KUTILS_LIBS ${KDE4_KIO_LIBS} kutils) set(KDE4_KDE3SUPPORT_LIBS ${KDE4_KIO_LIBS} kde3support) set(KDE4_SOLID_LIBS ${KDE4_KDECORE_LIBS} solid) @@ -374,6 +378,9 @@ else (_kdeBootStrapping) set(KDE4_KDEPRINT_LIBS ${kdeprint_LIB_DEPENDS} ${KDE4_KDEPRINT_LIBRARY} ) if (UNIX) + find_library(KDE4_KPTY_LIBRARY NAMES kpty PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH ) + set(KDE4_KPTY_LIBS ${kpty_LIB_DEPENDS} ${KDE4_KPTY_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} ) endif (UNIX) |