~ubuntu-branches/ubuntu/raring/gwenview/raring-proposed

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac, Philip Muškovac, Scott Kitterman
  • Date: 2011-12-24 18:54:55 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111224185455-zxffs6i6m5cwwuze
Tags: 4:4.7.95-0ubuntu1
[ Philip Muškovac ]
* New upstream release candiate

[ Scott Kitterman ]
* Fix Ubuntu Vcs- header in debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
# Init GWENVIEW_SEMANTICINFO_BACKEND_* vars
18
18
if (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "None")
19
 
        set(GWENVIEW_SEMANTICINFO_BACKEND_NONE ON)
 
19
    set(GWENVIEW_SEMANTICINFO_BACKEND_NONE ON)
20
20
else (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "None")
21
 
        if (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "Fake")
22
 
                set(GWENVIEW_SEMANTICINFO_BACKEND_FAKE ON)
23
 
        else (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "Fake")
24
 
                set(GWENVIEW_SEMANTICINFO_BACKEND_NEPOMUK ON)
25
 
        endif (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "Fake")
 
21
    if (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "Fake")
 
22
        set(GWENVIEW_SEMANTICINFO_BACKEND_FAKE ON)
 
23
    else (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "Fake")
 
24
        set(GWENVIEW_SEMANTICINFO_BACKEND_NEPOMUK ON)
 
25
    endif (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "Fake")
26
26
endif (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "None")
27
27
 
28
28
## Dependencies
37
37
macro_log_feature(KIPI_FOUND "KIPI Plugins" "Provides various image manipulation and export features" "http://www.kipi-plugins.org" FALSE "" "")
38
38
 
39
39
if (NOT GWENVIEW_SEMANTICINFO_BACKEND_NONE)
40
 
        # We need Nepomuk widgets for all backends but "None"
41
 
        find_package(Nepomuk)
42
 
        macro_log_feature(Nepomuk_FOUND "Nepomuk" "Provides desktop-wide semantic information support" "http://www.kde.org" TRUE "" "")
 
40
    # We need Nepomuk widgets for all backends but "None"
 
41
    find_package(Nepomuk)
 
42
    macro_log_feature(Nepomuk_FOUND "Nepomuk" "Provides desktop-wide semantic information support" "http://www.kde.org" TRUE "" "")
43
43
endif (NOT GWENVIEW_SEMANTICINFO_BACKEND_NONE)
44
44
 
45
45
find_package(LibKonq)
51
51
add_definitions(-DDISABLE_NEPOMUK_LEGACY)
52
52
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
53
53
add_definitions(
54
 
        ${QT_DEFINITIONS}
55
 
        ${QT_QTDBUS_DEFINITIONS}
56
 
        ${KDE4_DEFINITIONS}
57
 
        )
 
54
    ${QT_DEFINITIONS}
 
55
    ${QT_QTDBUS_DEFINITIONS}
 
56
    ${KDE4_DEFINITIONS}
 
57
    )
58
58
 
59
59
include_directories(
60
 
        ${QDBUS_INCLUDE_DIRS}
61
 
        ${CMAKE_SOURCE_DIR}
62
 
        ${CMAKE_BINARY_DIR}
63
 
        ${KDE4_INCLUDES}
64
 
        )
 
60
    ${QDBUS_INCLUDE_DIRS}
 
61
    ${CMAKE_SOURCE_DIR}
 
62
    ${CMAKE_BINARY_DIR}
 
63
    ${KDE4_INCLUDES}
 
64
    )
65
65
 
66
66
## dirs to build
67
67
add_subdirectory(lib)