From fa4cd27710c252a5728f7c43ee186371ed180207 Mon Sep 17 00:00:00 2001 From: Thomas Etter Date: Thu, 7 Mar 2019 22:09:38 +0100 Subject: [PATCH] fix a copy-paste error --- chapters/projects/fetch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/projects/fetch.md b/chapters/projects/fetch.md index 7f7b520..8f0a2c8 100644 --- a/chapters/projects/fetch.md +++ b/chapters/projects/fetch.md @@ -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: