mirror of
1
0
Fork 0

Merge branch 'master' into 'master'

fix a copy-paste error

See merge request CLIUtils/modern-cmake!12
This commit is contained in:
Henry Schreiner 2019-03-07 21:39:49 +00:00
commit f597ab5072
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ The [FetchContent] module has excellent documentation that I won't try to repeat
* Use `FetchContent_Declare(MyName` to get data or a package. You can set URLs, Git repositories, and more.
* Use `FetchContent_GetProperties(MyName)` on the name you picked in the first step to get `MyName_*` variables.
* Check `MyName_POPULATED`, and if not populated, use `FetchContent_Populate(MyName)` (and if a package, `add_subdirectory("${MyName_SOURCE_DIR}" "${MyName_SOURCE_DIR}")`)
* Check `MyName_POPULATED`, and if not populated, use `FetchContent_Populate(MyName)` (and if a package, `add_subdirectory("${MyName_SOURCE_DIR}" "${MyName_BINARY_DIR}")`)
For example, to download Catch2: