diff options
Diffstat (limited to 'modules/FindNepomuk.cmake')
-rw-r--r-- | modules/FindNepomuk.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/FindNepomuk.cmake b/modules/FindNepomuk.cmake index 24832973..b9f7b820 100644 --- a/modules/FindNepomuk.cmake +++ b/modules/FindNepomuk.cmake @@ -22,6 +22,12 @@ if (NOT DEFINED Soprano_FOUND) macro_log_feature(Soprano_FOUND "Soprano" "Semantic Desktop Storing" "" FALSE "" "Soprano is needed for Nepomuk") endif (NOT DEFINED Soprano_FOUND) +if (NOT DEFINED DESKTOP_ONTOLOGIES_FOUND) + find_package(SharedDesktopOntologies) + include(MacroLogFeature) + macro_log_feature(DESKTOP_ONTOLOGIES_FOUND "Shared desktop ontologies" "Desktop ontologies" "http://oscaf.sourceforge.net" FALSE "" "Ontologies necessary for the Nepomuk semantic desktop.") +endif (NOT DEFINED DESKTOP_ONTOLOGIES_FOUND) + # Check for the following stuff independent from whether soprano has been found # or not. This will give a better error message at the end. find_path(NEPOMUK_INCLUDE_DIR @@ -55,7 +61,7 @@ include(FindPackageHandleStandardArgs) # easier for the user to see what was missing: find_package_handle_standard_args(Nepomuk DEFAULT_MSG NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR - Soprano_FOUND SOPRANO_PLUGIN_RAPTORPARSER_FOUND SOPRANO_PLUGIN_REDLANDBACKEND_FOUND + Soprano_FOUND SOPRANO_PLUGIN_RAPTORPARSER_FOUND SOPRANO_PLUGIN_REDLANDBACKEND_FOUND DESKTOP_ONTOLOGIES_FOUND ) #to retain backward compatibility |