Author: rinrab Date: Fri Oct 18 15:19:10 2024 New Revision: 1921406 URL: http://svn.apache.org/viewvc?rev=1921406&view=rev Log: cmake: Change default value of the SVN_SOVERSION from '1' to '0'.
If it has to be changed manually, for example in the case of the Debian package, this option might be specified in cmake, like in the following example: ``` cmake -S ... -B ... -DSVN_SOVERSION=42 [...] ``` Will build `libsvn_client-1.so.42.0.0` and will create `libsvn_client-1.so.42` symlink. No additional patches needed! * CMakeLists.txt (SVN_SOVERSION): Change the default value of the option. Modified: subversion/trunk/CMakeLists.txt Modified: subversion/trunk/CMakeLists.txt URL: http://svn.apache.org/viewvc/subversion/trunk/CMakeLists.txt?rev=1921406&r1=1921405&r2=1921406&view=diff ============================================================================== --- subversion/trunk/CMakeLists.txt (original) +++ subversion/trunk/CMakeLists.txt Fri Oct 18 15:19:10 2024 @@ -102,7 +102,7 @@ cmake_dependent_option(SVN_BUILD_SHARED_ option(SVN_DEBUG "Enables specific features for developer builds" OFF) cmake_dependent_option(SVN_USE_WIN32_CRASHHANDLER "Enables WIN32 crash handler." ON "WIN32" OFF) option(SVN_USE_DSO "Defined if svn should try to load DSOs" OFF) -set(SVN_SOVERSION "1" CACHE STRING "Subversion library ABI version") +set(SVN_SOVERSION "0" CACHE STRING "Subversion library ABI version") mark_as_advanced(SVN_SOVERSION) # Dependecies