diff --git a/Modules/CheckVariableExists.cmake b/Modules/CheckVariableExists.cmake index 37bef1b691..f250532782 100644 --- a/Modules/CheckVariableExists.cmake +++ b/Modules/CheckVariableExists.cmake @@ -7,19 +7,14 @@ CheckVariableExists Check if the variable exists. -.. command:: CHECK_VARIABLE_EXISTS +.. command:: check_variable_exists .. code-block:: cmake - CHECK_VARIABLE_EXISTS(VAR VARIABLE) - - - :: - - VAR - the name of the variable - VARIABLE - variable to store the result - Will be created as an internal cache variable. + check_variable_exists( ) + Check if the variable ```` exists and store the result in an internal + cache variable ````. This macro is only for ``C`` variables.