Merge branch 'patch-1' into 'master'
fix typo in variables.md See merge request CLIUtils/modern-cmake!17
This commit is contained in:
commit
9e02bd6289
@ -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