diff options
| author | Michael Jansen <kde@michael-jansen.biz> | 2009-04-20 19:21:46 +0000 | 
|---|---|---|
| committer | Michael Jansen <kde@michael-jansen.biz> | 2009-04-20 19:21:46 +0000 | 
| commit | 93a513122e1391099139ee7c1e4c2b116dab527f (patch) | |
| tree | 68984df64ab10820ee161b3b3434dc059489d249 | |
| parent | f60b36ec9cf811a6e4c39194c455dcc951ccc2dc (diff) | |
| download | extra-cmake-modules-93a513122e1391099139ee7c1e4c2b116dab527f.tar.gz extra-cmake-modules-93a513122e1391099139ee7c1e4c2b116dab527f.tar.bz2 | |
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
| -rw-r--r-- | modules/FindSoprano.cmake | 4 | 
1 files changed, 4 insertions, 0 deletions
| 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        ) | 
