diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9bd4c1f0..9076f955 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,13 +111,8 @@ message(STATUS "Configuring PROJ:") ################################################################################ include(ProjVersion) proj_version(MAJOR 9 MINOR 0 PATCH 0) -# Use libtool convention to build the CMake's VERSION and SOVERSION -# See https://github.com/pvanhoof/dir-examples#cmake-in-the-cmake-example -set(PROJ_LIBTOOL_CURRENT 25) -set(PROJ_LIBTOOL_REVISION 0) -set(PROJ_LIBTOOL_AGE 0) -math(EXPR PROJ_API_VERSION "${PROJ_LIBTOOL_CURRENT} - ${PROJ_LIBTOOL_AGE}") -set(PROJ_BUILD_VERSION "${PROJ_API_VERSION}.${PROJ_LIBTOOL_AGE}.${PROJ_LIBTOOL_REVISION}") +set(PROJ_SOVERSION 25) +set(PROJ_BUILD_VERSION "${PROJ_SOVERSION}.${PROJ_VERSION}") ################################################################################ # Build features and variants |
