summaryrefslogtreecommitdiffstats
path: root/Help/release
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/release
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/release')
-rw-r--r--Help/release/dev/add_library-no-static-fallback.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/add_library-no-static-fallback.rst b/Help/release/dev/add_library-no-static-fallback.rst
new file mode 100644
index 0000000..72de12b
--- /dev/null
+++ b/Help/release/dev/add_library-no-static-fallback.rst
@@ -0,0 +1,6 @@
+add_library-no-static-fallback
+------------------------------
+
+* On platforms that do not support shared libraries, the :command:`add_library`
+ command now rejects creation of shared libraries instead of automatically
+ converting them to static libraries. See policy :policy:`CMP0164`.