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

Merge branch 'patch-1' into 'master'

fix typo in variables.md

See merge request CLIUtils/modern-cmake!17
This commit is contained in:
Henry Schreiner 2019-08-06 22:06:41 +00:00
commit 9e02bd6289

View File

@ -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)