picking up wrong version of some kde libs
Brad Hards
bradh at frogmouth.net
Sun Jan 28 07:03:45 CET 2007
I'm seeing some weird behaviour with cmake picking up the wrong versions of
two libraries: libkwalletclient.so and libktexteditor.so. Everything else gets
picked up from my KDE 4 install directory, but those two get picked up from
KDE 3 (i.e. /usr/lib).
I've "cured" the symptoms by patching FindKDE4Internal.cmake, but have no idea
if the fix is correct or not. Can anyone confirm the problem / solution?
Brad
--- FindKDE4Internal.cmake (revision 627756)
+++ FindKDE4Internal.cmake (working copy)
@@ -471,10 +471,10 @@
find_library(KDE4_KROSSCORE_LIBRARY NAMES krosscore PATHS ${KDE4_LIB_INSTALL_DIR} )
set(KDE4_KROSSCORE_LIBS ${krosscore_LIB_DEPENDS} ${KDE4_KROSSCORE_LIBRARY} )
- find_library(KDE4_KTEXTEDITOR_LIBRARY NAMES ktexteditor PATHS ${KDE4_LIB_INSTALL_DIR} )
+ find_library(KDE4_KTEXTEDITOR_LIBRARY NAMES ktexteditor PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
set(KDE4_KTEXTEDITOR_LIBS ${ktexteditor_LIB_DEPENDS} ${KDE4_KTEXTEDITOR_LIBRARY} )
- find_library(KDE4_KWALLETCLIENT_LIBRARY NAMES kwalletclient PATHS ${KDE4_LIB_INSTALL_DIR} )
+ find_library(KDE4_KWALLETCLIENT_LIBRARY NAMES kwalletclient PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
set(KDE4_KWALLETCLIENT_LIBS ${kwalletclient_LIB_DEPENDS} ${KDE4_KWALLETCLIENT_LIBRARY} )
get_filename_component(KDE4_LIB_DIR ${KDE4_KDECORE_LIBRARY} PATH )
More information about the Kde-buildsystem
mailing list