~ubuntu-branches/ubuntu/vivid/debconf-kde/vivid-proposed

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Harald Sitter, José Manuel Santamaría Lema, Harald Sitter
  • Date: 2015-02-12 08:29:01 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20150212082901-zxe9lkagm4cg0xoe
Tags: 1.0.1-0ubuntu1
[ José Manuel Santamaría Lema ]
* Build depend on pkg-kde-tools to (>> 0.15.15) so we make sure we are
  building against a pkg-kde-tools which provides the kde frameworks 
  module.
* Add debconf-kde-data package to provide architecture independent data (at
  the moment, the translations).

[ Harald Sitter ]
* New upstream release (LP: #1420291)
* Update standards version to latest (3.9.6)

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        WidgetsAddons
37
37
)
38
38
 
39
 
ecm_setup_version(${PROJECT_VERSION} VARIABLE_PREFIX DEBCONF
 
39
if(ECM_VERSION VERSION_GREATER 1.5.0)
 
40
    # >1.5 has an optional compatibility option for the package version file.
 
41
    # TODO: bump dep and remove this check once 1.7 is out.
 
42
    set(VERSION_COMPAT_OPTION COMPATIBILITY SameMajorVersion)
 
43
endif()
 
44
ecm_setup_version(${PROJECT_VERSION}
 
45
    VARIABLE_PREFIX DEBCONF
 
46
    SOVERSION ${PROJECT_VERSION_MAJOR}
40
47
    VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/DebconfVersion.h"
41
48
    PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/DebconfKDEConfigVersion.cmake"
42
 
    SOVERSION ${PROJECT_VERSION_MAJOR}
 
49
        ${VERSION_COMPAT_OPTION}
43
50
)
44
51
 
45
52
add_definitions(-DPROJECT_VERSION=\"${PROJECT_VERSION}\")