Author: rinrab
Date: Fri Oct 4 16:50:51 2024
New Revision: 1921109
URL: http://svn.apache.org/viewvc?rev=1921109&view=rev
Log:
cmake: Setup the SVN_SOVERSION always, whenever DSO build is enabled or not.
* CMakeLists.txt
(defines): Move setting of the SVN_SOVERSION definition outside from
the 'if(DSO)' block.
Modified:
subversion/trunk/CMakeLists.txt
Modified: subversion/trunk/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/subversion/trunk/CMakeLists.txt?rev=1921109&r1=1921108&r2=1921109&view=diff
==============================================================================
--- subversion/trunk/CMakeLists.txt (original)
+++ subversion/trunk/CMakeLists.txt Fri Oct 4 16:50:51 2024
@@ -143,9 +143,10 @@ endif()
if(SVN_USE_DSO)
add_compile_definitions("SVN_USE_DSO")
add_compile_definitions("SVN_DSO_SUFFIX_FMT=\"%%d${CMAKE_SHARED_LIBRARY_SUFFIX}\"")
- add_compile_definitions("SVN_SOVERSION=1")
endif()
+add_compile_definitions("SVN_SOVERSION=1")
+
if (SVN_ENABLE_TESTS)
enable_testing()
endif()