On this page
<LANG>_STANDARD_REQUIRED
The variations are:
C_STANDARD_REQUIREDCXX_STANDARD_REQUIREDCUDA_STANDARD_REQUIREDHIP_STANDARD_REQUIREDOBJC_STANDARD_REQUIREDOBJCXX_STANDARD_REQUIRED
These properties specify whether the value of <LANG>_STANDARD is a requirement. When OFF or unset, the <LANG>_STANDARD target property is treated as optional and may "decay" to a previous standard if the requested is not available.
These properties are initialized by the value of the CMAKE_<LANG>_STANDARD_REQUIRED variable if it is set when a target is created.
For supported CMake versions see the respective pages. To control language standard versions see <LANG>_STANDARD.
See the cmake-compile-features(7) manual for information on compile features and a list of supported compilers.
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.22/prop_tgt/LANG_STANDARD_REQUIRED.html