summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorAsit Dhal <dhal.asitk@gmail.com>2024-03-17 20:15:16 (GMT)
committerBrad King <brad.king@kitware.com>2024-03-29 15:06:32 (GMT)
commita61c9afdf8b2c9cd424734c430b55de0581a67d5 (patch)
tree779e1e3f6c104e1d8b6962edd3a3936a08ea06c1 /Help/manual
parentf852f33c69a2bca9e0e3be3b0d43b53bf18aa8f7 (diff)
downloadCMake-a61c9afdf8b2c9cd424734c430b55de0581a67d5.zip
CMake-a61c9afdf8b2c9cd424734c430b55de0581a67d5.tar.gz
CMake-a61c9afdf8b2c9cd424734c430b55de0581a67d5.tar.bz2
add_library: Reject shared libraries on platforms that do not support them
Add policy CMP0164 to provide compatibility. Fixes: #25759
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-policies.7.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index 821a39a..d874363 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -57,6 +57,7 @@ Policies Introduced by CMake 3.30
.. toctree::
:maxdepth: 1
+ CMP0164: add_library() rejects SHARED libraries when not supported by the platform. </policy/CMP0164>
CMP0163: The GENERATED source file property is now visible in all directories. </policy/CMP0163>
CMP0162: Visual Studio generators add UseDebugLibraries indicators by default. </policy/CMP0162>