diff options
| author | Mike Taves <mwtoews@gmail.com> | 2022-02-24 07:40:59 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-23 19:40:59 +0100 |
| commit | 65c84b6e2a40ec8e6b8d1de86bcd556d01ef2aeb (patch) | |
| tree | 8d854563976b04e37204a7530c25d919a704369a /CMakeLists.txt | |
| parent | e79984f5f17a8d0abd36e7e4884dd56b644df22f (diff) | |
| download | PROJ-65c84b6e2a40ec8e6b8d1de86bcd556d01ef2aeb.tar.gz PROJ-65c84b6e2a40ec8e6b8d1de86bcd556d01ef2aeb.zip | |
Simple SOVERSION (#3066)9.0.0
Co-authored-by: Bas Couwenberg <sebastic@xs4all.nl>
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 |
