~ubuntu-branches/ubuntu/precise/konversation/precise-security

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2010-06-07 16:24:06 UTC
  • Revision ID: james.westby@ubuntu.com-20100607162406-vflxoc1nfhxd9t7v
Tags: 1.3-0ubuntu1
* New upstream release:
  - Drop backport_aa233e3_close_buttons_fix.diff, merged upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#check for KDE greater than 4.4.3 (usable version of KIdleTime)
29
29
macro_ensure_version("4.4.3" ${KDE_VERSION} HAVEKDE4_4_3)
30
30
 
31
 
option(USE_KIDLETIME "Use KIdleTime for user inactivity detection." ON)
32
 
macro_bool_to_01(USE_KIDLETIME HAVE_KIDLETIME)
 
31
if (HAVEKDE4_4_3)
 
32
    option(USE_KIDLETIME "Use KIdleTime for user inactivity detection." ON)
 
33
endif (HAVEKDE4_4_3)
33
34
 
34
35
if (HAVEKDE4_4_3 AND USE_KIDLETIME)
 
36
    macro_bool_to_01(USE_KIDLETIME HAVE_KIDLETIME)
35
37
    #only log the status of the feature if the user wants to build with KIdleTime support
36
38
    macro_log_feature(HAVE_KIDLETIME "KIdleTime" "KDE Idle Time" "http://www.kde.org/" FALSE "" "KIdleTime based user inactivity detection for the auto-away functionality")
37
39
endif (HAVEKDE4_4_3 AND USE_KIDLETIME)