]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: allow SOVERSION override with `CURL_LIBCURL_SOVERSION`
authorViktor Szakats <commit@vsz.me>
Thu, 13 Jun 2024 11:43:22 +0000 (13:43 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 13 Jun 2024 17:26:16 +0000 (19:26 +0200)
commitbd2d5db549e4be72bfd0032fc85f5e79eec41a99
tree4373db70f0296c6f4127f4f3b9f5a56977f5b60d
parente9507bd8a1195013e6d6c9414be02d3d27abf2bb
cmake: allow SOVERSION override with `CURL_LIBCURL_SOVERSION`

Allow overriding SOVERSION with the new CMake option:
`CURL_LIBCURL_SOVERSION=ON/OFF`

For certain target platforms the shared libcurl library filename
contains the SOVERSION. This new option allows to enable/disable
this behavior manually. If set, it takes precedence over the default
setting.

Ref: #13898
Closes #13944
lib/CMakeLists.txt