~ubuntu-branches/ubuntu/quantal/kde-runtime/quantal

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-06-03 21:50:00 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20120603215000-vn7oarsq0ynrydj5
Tags: upstream-4.8.80
Import upstream version 4.8.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
4
4
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
5
5
 
 
6
include(CTest)
 
7
include(CTestConfig.cmake)
 
8
 
6
9
if(WINCE)
7
10
    #Needs to be set because otherwise he wouldn't find kde parts
8
11
    set(KDE4_DATA_DIR "${CMAKE_PREFIX_PATH}/share/apps")
11
14
 
12
15
#search packages used by KDE
13
16
set(KDE_MIN_VERSION "4.7.97")  # for the < 4.2 macro
14
 
find_package(KDE4 4.8.3 REQUIRED)
 
17
find_package(KDE4 4.8.0 REQUIRED)
15
18
if (WIN32)
16
19
    find_package(Strigi)
17
20
else ()
23
26
include(CheckFunctionExists)
24
27
include(CheckIncludeFiles)
25
28
 
26
 
set(SOPRANO_MIN_VERSION "2.6.50")
27
 
set(SDO_MIN_VERSION "0.6.50")
28
 
macro_optional_find_package(SharedDesktopOntologies ${SDO_MIN_VERSION})
29
 
macro_optional_find_package(Nepomuk)
30
 
macro_log_feature(SHAREDDESKTOPONTOLOGIES_FOUND "Shared desktop ontologies" "Desktop ontologies" "http://oscaf.sourceforge.net" FALSE ${SDO_MIN_VERSION} "Ontologies necessary for the Nepomuk semantic desktop.")
31
 
macro_log_feature(Nepomuk_FOUND "Nepomuk" "Nepomuk Libraries" "kdelibs" FALSE "" "Required to build Nepomuk.")
32
 
macro_log_feature(SOPRANO_PLUGIN_VIRTUOSOBACKEND_FOUND "Soprano Virtuoso Backend" "Virtuoso storage backend for Soprano" "http://soprano.sourceforge.net" FALSE "" "The Soprano Virtuoso backend is required to run the Nepomuk semantic desktop system.")
33
 
macro_log_feature(SOPRANO_PLUGIN_RAPTORPARSER_FOUND "Soprano Raptor Parser" "RDF parser plugin for Soprano" "http://soprano.sourceforge.net" FALSE "" "The Soprano raptor parser plugin is required to build the Nepomuk semantic desktop system.")
34
 
macro_log_feature(SOPRANO_PLUGIN_REDLANDBACKEND_FOUND "Soprano Redland Backend" "Redland storage backend for Soprano" "http://soprano.sourceforge.net" FALSE "" "The Soprano redland backend is required to build the Nepomuk semantic desktop system.")
 
29
find_package(KdepimLibs)
 
30
macro_log_feature(KDEPIMLIBS_FOUND "KdepimLibs" "KDE PIM Libraries" "kdepimlibs" TRUE "" "Required to build Drkonqi")
 
31
 
 
32
find_package(KDeclarative REQUIRED)
 
33
macro_log_feature(KDeclarative_FOUND "libkdeclarative" "KDE Declarative (QML) support from kdelibs" "http://www.kde.org" TRUE "" "Required by ksmserver.")
 
34
 
 
35
macro_optional_find_package(NepomukCore)
 
36
macro_log_feature(NepomukCore_FOUND "Nepomuk Core" "Nepomuk Core Libraries" "https://projects.kde.org/nepomuk-core" FALSE "" "Required to build Nepomuk.")
35
37
 
36
38
macro_optional_find_package(SLP)
37
39
macro_log_feature( SLP_FOUND
60
62
# Build infrastructure
61
63
add_subdirectory(cmake)
62
64
 
63
 
add_definitions(-DDISABLE_NEPOMUK_LEGACY)
64
 
 
65
65
# Background processes
66
66
add_subdirectory(kpasswdserver)
67
67
add_subdirectory(kdontchangethehostname)
81
81
   add_subdirectory(solid-networkstatus)
82
82
endif ( UNIX )
83
83
 
84
 
if(SHAREDDESKTOPONTOLOGIES_FOUND AND Nepomuk_FOUND AND STRIGI_STRIGIQTDBUSCLIENT_LIBRARY AND SOPRANO_PLUGIN_REDLANDBACKEND_FOUND AND SOPRANO_PLUGIN_VIRTUOSOBACKEND_FOUND AND SOPRANO_PLUGIN_RAPTORPARSER_FOUND)
85
 
  macro_optional_add_subdirectory(nepomuk)
86
 
endif(SHAREDDESKTOPONTOLOGIES_FOUND AND Nepomuk_FOUND AND STRIGI_STRIGIQTDBUSCLIENT_LIBRARY AND SOPRANO_PLUGIN_REDLANDBACKEND_FOUND AND SOPRANO_PLUGIN_VIRTUOSOBACKEND_FOUND AND SOPRANO_PLUGIN_RAPTORPARSER_FOUND)
 
84
if(NepomukCore_FOUND)
 
85
    macro_optional_add_subdirectory(nepomuk)
 
86
endif(NepomukCore_FOUND)
87
87
 
88
88
# Plugins/components required for basic utility
89
89
if ( NOT WINCE )