2013-10-15 19:17:36 +04:00
|
|
|
CMAKE_ERROR_DEPRECATED
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
Whether to issue deprecation errors for macros and functions.
|
|
|
|
|
2015-08-18 08:34:01 +03:00
|
|
|
If ``TRUE``, this can be used by macros and functions to issue fatal
|
2013-10-15 19:17:36 +04:00
|
|
|
errors when deprecated macros or functions are used. This variable is
|
2015-08-18 08:34:01 +03:00
|
|
|
``FALSE`` by default.
|
2015-07-28 02:07:03 +03:00
|
|
|
|
|
|
|
These errors can be enabled with the ``-Werror=deprecated`` option, or
|
|
|
|
disabled with the ``-Wno-error=deprecated`` option, when running
|
|
|
|
:manual:`cmake(1)`.
|