summaryrefslogtreecommitdiff
path: root/share/cmake-3.17/Help/prop_tgt/NO_SONAME.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.17/Help/prop_tgt/NO_SONAME.rst')
-rw-r--r--share/cmake-3.17/Help/prop_tgt/NO_SONAME.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/share/cmake-3.17/Help/prop_tgt/NO_SONAME.rst b/share/cmake-3.17/Help/prop_tgt/NO_SONAME.rst
new file mode 100644
index 0000000..d381a9c
--- /dev/null
+++ b/share/cmake-3.17/Help/prop_tgt/NO_SONAME.rst
@@ -0,0 +1,14 @@
+NO_SONAME
+---------
+
+Whether to set ``soname`` when linking a shared library.
+
+Enable this boolean property if a generated ``SHARED`` library
+should not have ``soname`` set. Default is to set ``soname`` on all
+shared libraries as long as the platform supports it.
+Generally, use this property only for leaf private libraries or
+plugins. If you use it on normal shared libraries which other targets
+link against, on some platforms a linker will insert a full path to
+the library (as specified at link time) into the dynamic section of
+the dependent binary. Therefore, once installed, dynamic loader may
+eventually fail to locate the library for the binary.