cmake/Help/variable/CMAKE_WARN_DEPRECATED.rst
2022-11-16 20:14:03 +01:00

12 lines
448 B
ReStructuredText

CMAKE_WARN_DEPRECATED
---------------------
Whether to issue warnings for deprecated functionality.
If not ``FALSE``, use of deprecated functionality will issue warnings.
If this variable is not set, CMake behaves as if it were set to ``TRUE``.
When running :manual:`cmake(1)`, this option can be enabled with the
:option:`-Wdeprecated <cmake -Wdeprecated>` option, or disabled with the
:option:`-Wno-deprecated <cmake -Wno-deprecated>` option.