diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b0fe2a8..5cbbe35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,12 @@ # ################################################# -cmake_minimum_required( VERSION 3.1 ) + +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) +tde_set_project_version( ) ##### general package setup ##################### @@ -20,13 +25,11 @@ project( k3b ) ##### include essential cmake modules ########### include( FindPkgConfig ) +include( CheckCSourceCompiles ) include( CheckIncludeFile ) include( CheckLibraryExists ) include( CheckSymbolExists ) -# EXAMPLE: -# include( CheckTypeSize ) -# include( CheckCSourceCompiles ) -# include( CheckCXXSourceCompiles ) +enable_language( ASM ) ##### include our cmake modules ################# @@ -34,11 +37,6 @@ include( CheckSymbolExists ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |
