BUG: put the path to the kde3 lib dir in KDE3_LIB_DIR, not the complete

libkdecore.so

Alex
This commit is contained in:
Alexander Neundorf 2006-03-21 12:56:01 -05:00
parent 15d7dd9937
commit 6690a252ab
1 changed files with 3 additions and 1 deletions

View File

@ -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/