aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Holzammer <andy@kdab.com>2010-07-13 07:07:00 +0000
committerAndreas Holzammer <andy@kdab.com>2010-07-13 07:07:00 +0000
commitc2c96d0fa3d2d48e1725506bb054d2a6b1b54978 (patch)
treec51dfaf5a4d4575a5627b5eb254169fd23344ebb
parent8348a3bc70e2502d4c3406a1c39045c3b8a7d6e5 (diff)
downloadextra-cmake-modules-c2c96d0fa3d2d48e1725506bb054d2a6b1b54978.tar.gz
extra-cmake-modules-c2c96d0fa3d2d48e1725506bb054d2a6b1b54978.tar.bz2
- disabled nepomuk backends for wince at this time, because we dont have backend at this time
- needs to be fixt in the future svn path=/trunk/KDE/kdelibs/; revision=1149282
-rw-r--r--modules/FindNepomuk.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/FindNepomuk.cmake b/modules/FindNepomuk.cmake
index fc4a610b..0a24bdb6 100644
--- a/modules/FindNepomuk.cmake
+++ b/modules/FindNepomuk.cmake
@@ -66,11 +66,20 @@ mark_as_advanced(NEPOMUK_INCLUDE_DIR NEPOMUK_LIBRARIES NEPOMUK_QUERY_LIBRARIES N
include(FindPackageHandleStandardArgs)
# List all nepomuk and also all necessary soprano variables here, to make it
# easier for the user to see what was missing:
+if(NOT WINCE)
find_package_handle_standard_args(Nepomuk DEFAULT_MSG
NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR NEPOMUK_ADDONTOLOGYCLASSES_FILE
Soprano_FOUND SOPRANO_PLUGIN_RAPTORPARSER_FOUND SOPRANO_PLUGIN_REDLANDBACKEND_FOUND
SHAREDDESKTOPONTOLOGIES_FOUND
)
+else(NOT WINCE)
+#FIXME: There are no backends at this time
+find_package_handle_standard_args(Nepomuk DEFAULT_MSG
+ NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR NEPOMUK_ADDONTOLOGYCLASSES_FILE
+ Soprano_FOUND
+ SHAREDDESKTOPONTOLOGIES_FOUND
+ )
+endif(NOT WINCE)
#to retain backward compatibility
set (Nepomuk_FOUND ${NEPOMUK_FOUND})