From ae8b227b55ed43a330faca5a61830268277a9039 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Thu, 3 Dec 2009 21:24:54 +0000 Subject: -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 --- modules/FindSoprano.cmake | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'modules') 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") -- cgit v1.2.1