|
|
|
@ -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 )
|
|
|
|
|