diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7eff7cb..37fea1c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,12 +9,20 @@ # ################################################# -project( dbus-tqt-1 ) +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) +tde_set_project_version( ) + + +##### general package setup ##################### -##### cmake setup ############################### +project( dbus-tqt-1 ) -cmake_minimum_required( VERSION 3.5 ) + +##### include essential cmake modules ########### include( FindPkgConfig ) include( CheckCXXSourceCompiles ) @@ -24,11 +32,6 @@ include( TDEMacros ) include( ConfigureChecks.cmake ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### install paths setup ####################### tde_setup_install_path( EXEC_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" ) |