[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/cmake/modules
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2009-11-25 20:42:55
Message-ID: 1259181775.194517.1245.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1054294 by trueg:
Added macro to find the new shared-desktop-ontologies package
M +1 -0 CMakeLists.txt
M +7 -1 FindNepomuk.cmake
A FindSharedDesktopOntologies.cmake
--- trunk/KDE/kdelibs/cmake/modules/CMakeLists.txt #1054293:1054294
@@ -106,6 +106,7 @@
FindSane.cmake
FindSasl2.cmake
FindSharedMimeInfo.cmake
+ FindSharedDesktopOntologies.cmake
FindSoprano.cmake
FindSqlite.cmake
FindStrigi.cmake
--- trunk/KDE/kdelibs/cmake/modules/FindNepomuk.cmake #1054293:1054294
@@ -22,6 +22,12 @@
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 @@
# 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic