fix typo in variables.md
This commit is contained in:
parent
30c83f03e8
commit
1400e58b0a
@ -78,7 +78,7 @@ set_target_properties(TargetName PROPERTIES
|
|||||||
CXX_STANDARD 11)
|
CXX_STANDARD 11)
|
||||||
```
|
```
|
||||||
|
|
||||||
The first form is more general, and can set multiple targets/files/tests at once, and has useful options. The second is a shortcut for setting several properties on one target. And you can get targets similarly:
|
The first form is more general, and can set multiple targets/files/tests at once, and has useful options. The second is a shortcut for setting several properties on one target. And you can get properties similarly:
|
||||||
|
|
||||||
```cmake
|
```cmake
|
||||||
get_property(ResultVariable TARGET TargetName PROPERTY CXX_STANDARD)
|
get_property(ResultVariable TARGET TargetName PROPERTY CXX_STANDARD)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user