~compiz-team/compiz/0.9.12

« back to all changes in this revision

Viewing changes to cmake/base.cmake

  • Committer: CI Train Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2015-12-11 10:00:29 UTC
  • mfrom: (3988.2.3 compiz)
  • Revision ID: ci-train-bot@canonical.com-20151211100029-5tq13bj2xvpejtdv
backends: drop gconf support
Approved by: Sebastien Bacher

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
set (USE_GCONF 1 CACHE BOOL "Install core GConf schemas")
2
 
 
3
 
if (USE_GCONF)
4
 
    pkg_check_modules (GCONF gconf-2.0)
5
 
 
6
 
    find_program (GCONFTOOL_EXECUTABLE gconftool-2)
7
 
    mark_as_advanced (FORCE GCONFTOOL_EXECUTABLE)
8
 
 
9
 
    if (NOT COMPIZ_INSTALL_GCONF_SCHEMA_DIR)
10
 
        set (SCHEMADIR "${CMAKE_INSTALL_PREFIX}/share/gconf/schemas")
11
 
    else (NOT COMPIZ_INSTALL_GCONF_SCHEMA_DIR)
12
 
        set (SCHEMADIR "${COMPIZ_INSTALL_GCONF_SCHEMA_DIR}")
13
 
    endif (NOT COMPIZ_INSTALL_GCONF_SCHEMA_DIR)
14
 
 
15
 
    if (NOT GCONF_FOUND OR NOT GCONFTOOL_EXECUTABLE)
16
 
        set (USE_GCONF 0)
17
 
    else ()
18
 
        include (CompizGconf)
19
 
        include (CompizGSettings)
20
 
    endif ()
21
 
endif ()
22
 
 
23
1
function (_print_configure_results)
24
2
    compiz_print_configure_header ("Compiz")
25
3
    compiz_color_message ("\n${_escape}[4mOptional features:${_escape}[0m\n")
27
5
    compiz_print_result_message ("GLESv2" USE_GLES)
28
6
    compiz_print_result_message ("gtk window decorator" USE_GTK)
29
7
    compiz_print_result_message ("metacity theme support" USE_METACITY)
30
 
    compiz_print_result_message ("gconf schemas" USE_GCONF)
31
8
    compiz_print_result_message ("gnome" USE_GNOME)
32
9
    compiz_print_result_message ("kde4 window decorator" USE_KDE4)
33
10