CMAKE_ERROR_DEPRECATED.rst 429 B

123456789101112
  1. CMAKE_ERROR_DEPRECATED
  2. ----------------------
  3. Whether to issue deprecation errors for macros and functions.
  4. If ``TRUE``, this can be used by macros and functions to issue fatal
  5. errors when deprecated macros or functions are used. This variable is
  6. ``FALSE`` by default.
  7. These errors can be enabled with the ``-Werror=deprecated`` option, or
  8. disabled with the ``-Wno-error=deprecated`` option, when running
  9. :manual:`cmake(1)`.