3 set(GWENVIEW_SEMANTICINFO_BACKEND_NONE OFF)
4 set(GWENVIEW_SEMANTICINFO_BACKEND_FAKE OFF)
5 set(GWENVIEW_SEMANTICINFO_BACKEND_NEPOMUK OFF)
7 set(GWENVIEW_SEMANTICINFO_BACKEND "None" CACHE STRING "Metadata backend for Gwenview (None/Fake/Nepomuk)")
9 # Init GWENVIEW_SEMANTICINFO_BACKEND_* vars
10 if (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "None")
11 set(GWENVIEW_SEMANTICINFO_BACKEND_NONE ON)
12 else (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "None")
13 if (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "Fake")
14 set(GWENVIEW_SEMANTICINFO_BACKEND_FAKE ON)
15 else (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "Fake")
16 set(GWENVIEW_SEMANTICINFO_BACKEND_NEPOMUK ON)
17 endif (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "Fake")
18 endif (GWENVIEW_SEMANTICINFO_BACKEND STREQUAL "None")
20 if (NOT GWENVIEW_SEMANTICINFO_BACKEND_NONE)
21 # We need Nepomuk widgets in all cases
22 find_package(Nepomuk REQUIRED)
23 endif (NOT GWENVIEW_SEMANTICINFO_BACKEND_NONE)
25 # TODO: Move other Gwenview specific macro_optional_find_package lines here
33 subdirs(fullscreenthemes)
35 configure_file(config-gwenview.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-gwenview.h)