Merge topic 'doc-no-versioned-soname'

3f7e6b3fd4 Help: Document CMAKE_PLATFORM_NO_VERSIONED_SONAME

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6978
This commit is contained in:
Brad King
2022-02-15 14:47:07 +00:00
committed by Kitware Robot
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
CMAKE_PLATFORM_NO_VERSIONED_SONAME
----------------------------------
.. versionadded:: 3.1
This variable is used to globally control whether the
:prop_tgt:`VERSION` and :prop_tgt:`SOVERSION` target
properties should be used for shared libraries.
When set to true, adding version information to each
shared library target is disabled.
By default this variable is set only on platforms where
CMake knows it is needed. On other platforms, the
specified properties will be used for shared libraries.