BUG: put the path to the kde3 lib dir in KDE3_LIB_DIR, not the complete
libkdecore.so Alex
This commit is contained in:
parent
15d7dd9937
commit
6690a252ab
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue