diff options
author | Slávek Banko <[email protected]> | 2024-10-08 10:44:23 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2024-10-08 11:21:26 +0200 |
commit | 2b18e86c5c4b10a9a2c6cec2e76d27d94a8b2a68 (patch) | |
tree | 80c4f5978193b62d6512268b94482031c14e9784 | |
parent | 97269e5a8a630f454c0195667dad16d0cb828dfe (diff) | |
download | twin-style-mallory-2b18e86c5c4b10a9a2c6cec2e76d27d94a8b2a68.tar.gz twin-style-mallory-2b18e86c5c4b10a9a2c6cec2e76d27d94a8b2a68.zip |
Set the minimum required version of CMake as the first thing in the rules.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 2c37e2cf535b7fef5fbcbfe71141c4886bed04ad)
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 91acce1..41bc6b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,13 @@ # Improvements and feedback are welcome. # ################################################################################ +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) +tde_set_project_version( ) + +##### set project name ########################### project(twin-style-mallory) ### Includes ################################################################### @@ -18,11 +25,8 @@ include(CheckCXXSourceCompiles) include(TDEMacros) include(TDESetupPaths) -include(TDEVersion) ### Basic project setup ######################################################## -cmake_minimum_required(VERSION ${TDE_CMAKE_MINIMUM_VERSION}) -tde_set_project_version() tde_setup_paths() ### Options #################################################################### |