diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/FindNepomuk.cmake | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/modules/FindNepomuk.cmake b/modules/FindNepomuk.cmake index d86f0b45..b406068c 100644 --- a/modules/FindNepomuk.cmake +++ b/modules/FindNepomuk.cmake @@ -24,12 +24,12 @@ endif (NOT DEFINED Soprano_FOUND)  if (Soprano_FOUND)    set (NEPOMUK_FIND_REQUIRED ${Nepomuk_FIND_REQUIRED}) -  if (NEPOMUK_INCLUDE_DIR AND NEPOMUK_LIBRARIES) +  if (NEPOMUK_INCLUDE_DIR AND NEPOMUK_LIBRARIES AND NEPOMUK_QUERY_LIBRARIES)      # Already in cache, be silent      set(NEPOMUK_FIND_QUIETLY TRUE) -  else (NEPOMUK_INCLUDE_DIR AND NEPOMUK_LIBRARIES) +  else (NEPOMUK_INCLUDE_DIR AND NEPOMUK_LIBRARIES AND NEPOMUK_QUERY_LIBRARIES)      find_path(NEPOMUK_INCLUDE_DIR        NAMES        nepomuk/global.h @@ -56,7 +56,7 @@ if (Soprano_FOUND)      mark_as_advanced(NEPOMUK_INCLUDE_DIR NEPOMUK_LIBRARIES) -  endif (NEPOMUK_INCLUDE_DIR AND NEPOMUK_LIBRARIES) +  endif (NEPOMUK_INCLUDE_DIR AND NEPOMUK_LIBRARIES AND NEPOMUK_QUERY_LIBRARIES)    include(FindPackageHandleStandardArgs)    find_package_handle_standard_args(NEPOMUK DEFAULT_MSG  | 
