diff --git a/CMakeLists.txt b/CMakeLists.txt index f270e36..2ef2885 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,7 @@ cmake_minimum_required(VERSION 3.26) -project(omath VERSION 4.0.0 LANGUAGES CXX) +file(READ VERSION OMATH_VERSION) +project(omath VERSION ${OMATH_VERSION} LANGUAGES CXX) include(CMakePackageConfigHelpers) include(CheckCXXCompilerFlag) diff --git a/VERSION b/VERSION index 0c89fc9..ef8d756 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0.0 \ No newline at end of file +4.2.0 \ No newline at end of file