X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=3e616d30207d80c297b79523cad057a36233d26f;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=0e51aab45614814097834e3a4c4868f69323f410;hpb=7a74d9caf3689aa42070ecff84ba67fc8d3de216;p=kdenlive diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0e51aab4..3e616d30 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -66,6 +66,10 @@ macro_log_feature(Nepomuk_FOUND "http://nepomuk.semanticdesktop.org" ) +find_package(NepomukCore QUIET) +set_package_properties(NepomukCore PROPERTIES DESCRIPTION "The Nepomuk Core libraries" URL "http://www.kde.org" TYPE RECOMMENDED PURPOSE "Support for the Nepomuk semantic desktop system") + + macro_log_feature(QJSON_FOUND "QJson" "Qt-based library that maps JSON data to QVariant objects" @@ -344,11 +348,17 @@ if(SDL_FOUND) target_link_libraries(kdenlive ${SDL_LIBRARY}) endif(SDL_FOUND) -if(Nepomuk_FOUND) - add_definitions(-DUSE_NEPOMUK) - include_directories(${NEPOMUK_INCLUDES}) - target_link_libraries(kdenlive ${NEPOMUK_LIBRARIES}) -endif(Nepomuk_FOUND) +if(NepomukCore_FOUND) + add_definitions(-DUSE_NEPOMUKCORE) + include_directories(${NEPOMUK_CORE_INCLUDE_DIR}) + target_link_libraries(kdenlive ${NEPOMUK_CORE_LIBRARY}) +else(NepomukWidgets_FOUND) + if(Nepomuk_FOUND) + add_definitions(-DUSE_NEPOMUK) + include_directories(${NEPOMUK_INCLUDES}) + target_link_libraries(kdenlive ${NEPOMUK_LIBRARIES}) + endif(Nepomuk_FOUND) +endif() if(QJSON_FOUND) add_definitions(-DUSE_QJSON)