diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-03-21 17:56:01 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-03-21 17:56:01 (GMT) |
commit | 6690a252ab6e61d8c09d1dcf502c2878b6f796f5 (patch) | |
tree | 65ee089722523f59242bafb21375389bbb5e6921 /Modules | |
parent | 15d7dd9937f63e33dc98c75169d34953a222a20c (diff) | |
download | CMake-6690a252ab6e61d8c09d1dcf502c2878b6f796f5.zip CMake-6690a252ab6e61d8c09d1dcf502c2878b6f796f5.tar.gz CMake-6690a252ab6e61d8c09d1dcf502c2878b6f796f5.tar.bz2 |
BUG: put the path to the kde3 lib dir in KDE3_LIB_DIR, not the complete
libkdecore.so
Alex
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindKDE3.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindKDE3.cmake b/Modules/FindKDE3.cmake index e43c7db..b2e702c 100644 --- a/Modules/FindKDE3.cmake +++ b/Modules/FindKDE3.cmake @@ -113,7 +113,7 @@ FIND_PATH(KDE3_INCLUDE_DIR kpassdlg.h ) #now the KDE library directory -FIND_LIBRARY(KDE3_LIB_DIR NAMES kdecore +FIND_LIBRARY(KDE3_KDECORE_LIBRARY NAMES kdecore PATHS $ENV{KDEDIR}/lib /opt/kde/lib @@ -122,6 +122,8 @@ FIND_LIBRARY(KDE3_LIB_DIR NAMES kdecore /usr/local/lib ) +GET_FILENAME_COMPONENT(KDE3_LIB_DIR ${KDE3_KDECORE_LIBRARY} PATH ) + #now the KDE service types directory #FIND_PATH(KDE3_SERVICETYPES_DIR ktexteditor.desktop # $ENV{KDEDIR}/share/servicetypes/ |