Files
CMake/Help/release/dev/add_library-no-static-fallback.rst
Asit Dhal a61c9afdf8 add_library: Reject shared libraries on platforms that do not support them
Add policy CMP0164 to provide compatibility.

Fixes: #25759
2024-03-29 11:06:32 -04:00

7 lines
289 B
ReStructuredText

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`.