1
0
mirror of synced 2024-06-05 20:27:58 +02: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 ## 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 ```cmake
if(variable) if(variable)