From 93a513122e1391099139ee7c1e4c2b116dab527f Mon Sep 17 00:00:00 2001 From: Michael Jansen Date: Mon, 20 Apr 2009 19:21:46 +0000 Subject: If kdesupport is installed to a place != /usr /usr/local and whatever SHARE_INSTALL_PREFIX contains, soprano is found. BUT the plugins not. Fix that. I have no idea if there are other variations needed. CCMAIL:kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=956855 --- modules/FindSoprano.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') diff --git a/modules/FindSoprano.cmake b/modules/FindSoprano.cmake index c6a758cf..c35307a1 100644 --- a/modules/FindSoprano.cmake +++ b/modules/FindSoprano.cmake @@ -123,6 +123,9 @@ endif(SOPRANO_VERSION_MATCH) endif(Soprano_FOUND) + + message(${SOPRANO_INCLUDE_DIR}) + #look for parser plugins if(Soprano_FOUND) find_path(SOPRANO_PLUGIN_DIR @@ -130,6 +133,7 @@ soprano/plugins PATHS ${SHARE_INSTALL_PREFIX} /usr/share /usr/local/share + ${SOPRANO_INCLUDE_DIR}/../share NO_DEFAULT_PATH NO_SYSTEM_ENVIRONMENT_PATH ) -- cgit v1.2.1