[U] Updated library version

This commit is contained in:
seleznevae 2020-02-24 15:21:26 +03:00
parent 560c9f07f5
commit fb050b35cc
5 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0)
project(libfort VERSION 0.4.0)
project(libfort VERSION 0.4.1)
string(REGEX REPLACE "([0-9]+)\\.([0-9]+)\\.([0-9]+)"
"\\1.\\2" libfort_SOVERSION

View File

@ -1,3 +1,9 @@
## v0.4.1
### Internal
- Add alias `libfort::fort` for `fort` target that can be used via `add_subdirectory` in cmake.
## v0.4.0
### API

View File

@ -46,8 +46,8 @@ SOFTWARE.
#define LIBFORT_MAJOR_VERSION 0
#define LIBFORT_MINOR_VERSION 4
#define LIBFORT_REVISION 0
#define LIBFORT_VERSION_STR "0.4.0"
#define LIBFORT_REVISION 1
#define LIBFORT_VERSION_STR "0.4.1"
/*****************************************************************************

View File

@ -46,8 +46,8 @@ SOFTWARE.
#define LIBFORT_MAJOR_VERSION 0
#define LIBFORT_MINOR_VERSION 4
#define LIBFORT_REVISION 0
#define LIBFORT_VERSION_STR "0.4.0"
#define LIBFORT_REVISION 1
#define LIBFORT_VERSION_STR "0.4.1"
/*****************************************************************************

View File

@ -14,7 +14,7 @@ endif()
if (NOT DEFINED libfort_LIBRARIES)
message(FATAL_ERROR "libfort_LIBRARIES are not defined")
endif()
if (NOT ${libfort_VERSION} EQUAL "0.4.0")
if (NOT ${libfort_VERSION} EQUAL "0.4.1")
message(FATAL_ERROR "libfort_VERSION is incorrect")
endif()