Add [fetch-content].subdir

Closes #98
This commit is contained in:
Duncan Ogilvie
2023-11-09 13:28:29 +01:00
parent 58c7de1d60
commit 771c80a41a
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -507,6 +507,8 @@ Project::Project(const Project *parent, const std::string &path, bool build) : p
value = algo + "=" + value;
} else if (key == "hash") {
key = "URL_HASH";
} else if (key == "subdir") {
key = "SOURCE_SUBDIR";
} else if (is_cmake_arg(key)) {
// allow passthrough of ExternalProject options
} else if (!c.visisted(key)) {