diff options
| author | Alexander Neundorf <neundorf@kde.org> | 2009-12-03 21:24:54 +0000 | 
|---|---|---|
| committer | Alexander Neundorf <neundorf@kde.org> | 2009-12-03 21:24:54 +0000 | 
| commit | ae8b227b55ed43a330faca5a61830268277a9039 (patch) | |
| tree | bd535c7821299b20a366079c01cadc40e408af8d | |
| parent | de2e12bd1bac0eaad299831dfe4e25d7a96c02d9 (diff) | |
| download | extra-cmake-modules-ae8b227b55ed43a330faca5a61830268277a9039.tar.gz extra-cmake-modules-ae8b227b55ed43a330faca5a61830268277a9039.tar.bz2  | |
-use HINTS instead of PATHS and don't disable the default search path, this should find it in more places
Alex
svn path=/trunk/KDE/kdelibs/; revision=1058054
| -rw-r--r-- | modules/FindSoprano.cmake | 7 | 
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/FindSoprano.cmake b/modules/FindSoprano.cmake index d7b82bca..67b47868 100644 --- a/modules/FindSoprano.cmake +++ b/modules/FindSoprano.cmake @@ -140,13 +140,10 @@ if(SOPRANO_INCLUDE_DIR)    find_path(SOPRANO_PLUGIN_ROOT_DIR       NAMES      soprano/plugins -    PATHS +    HINTS      ${_SOPRANO_PREFIX}/share      ${SHARE_INSTALL_PREFIX}  -    /usr/share  -    /usr/local/share -    NO_DEFAULT_PATH -    NO_SYSTEM_ENVIRONMENT_PATH +    PATH_SUFFIXES share      )    set(SOPRANO_PLUGIN_DIR "${SOPRANO_PLUGIN_ROOT_DIR}/soprano/plugins")  | 
