1
0
mirror of synced 2024-12-22 12:40:00 +01:00

Merge branch 'patch-1' into 'master'

fix typo

See merge request CLIUtils/modern-cmake!15
This commit is contained in:
Henry Schreiner 2019-05-06 07:20:59 +00:00
commit aedf70607d

View File

@ -2,7 +2,7 @@
## Control flow
CMake has an «command:`if`» statement, though over the years is has become rather complex. There are a series of all caps keywords you can use inside an if statement, and you can often refer to variables by either directly by name or using the `${}` syntax (the if statement historically predates variable expansion). An example if statement:
CMake has an «command:`if`» statement, though over the years it has become rather complex. There are a series of all caps keywords you can use inside an if statement, and you can often refer to variables by either directly by name or using the `${}` syntax (the if statement historically predates variable expansion). An example if statement:
```cmake
if(variable)