Use centralized cmake version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/8/head
Michele Calgaro 8 months ago
parent 7c53a87adc
commit b2e6bdba6c
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -9,9 +9,21 @@
#
#################################################
## Polkit TQt Library
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
##### general package setup #####################
project("polkit-tqt")
##### include essential cmake modules ###########
set(POLKIT-TQT_VERSION_MAJOR 0)
set(POLKIT-TQT_VERSION_MINOR 103)
set(POLKIT-TQT_VERSION_PATCH 0)
@ -21,8 +33,6 @@ set(POLKIT-TQT_VERSION_STRING
##### cmake setup ###############################
cmake_minimum_required( VERSION 3.5 )
include( FindPkgConfig )
include( CheckCXXSourceCompiles )
include( CheckSymbolExists )
@ -31,11 +41,6 @@ include( TDEMacros )
enable_testing( )
##### set version number ########################
tde_set_project_version( )
##### optional stuff
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )

Loading…
Cancel
Save