Skip to content

Commit a13c157

Browse files
OneBlueCopilot
andauthored
Update cgmanifest to match CMakeLists.txt (#14550)
* Update cgmanifest to match CMakeLists.txt * Update CMakeLists.txt Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 93fa8b5 commit a13c157

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ include(FetchContent)
3333

3434
set(FETCHCONTENT_BASE_DIR ${CMAKE_BINARY_DIR}/_deps/${TARGET_PLATFORM})
3535

36+
# N.B. Changes to any of the FetchContent dependencies below (GSL, nlohmannjson) must be reflected in cgmanifest.json
37+
3638
FetchContent_Declare(GSL
3739
URL https://github.com/microsoft/GSL/archive/refs/tags/v4.0.0.tar.gz
3840
URL_HASH SHA256=f0e32cb10654fea91ad56bde89170d78cfbf4363ee0b01d8f097de2ba49f6ce9)

cgmanifest.json

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22
"version": 1,
33
"$schema": "https://json.schemastore.org/component-detection-manifest.json",
44
"registrations": [
5-
{
6-
"component": {
7-
"type": "git",
8-
"git": {
9-
"repositoryUrl": "https://github.com/microsoft/GSL",
10-
"commitHash": "0f6dbc9e2915ef5c16830f3fa3565738de2a9230"
11-
}
12-
}
13-
},
145
{
156
"component": {
167
"type": "git",
@@ -30,6 +21,28 @@
3021
"hash": "sha1:918692098b11db61aff23684ab04f375e4a68f69"
3122
}
3223
}
24+
},
25+
{
26+
"component": {
27+
"type": "other",
28+
"other": {
29+
"name": "GSL",
30+
"version": "4.0.0",
31+
"downloadUrl": "https://github.com/microsoft/GSL/archive/refs/tags/v4.0.0.tar.gz",
32+
"hash": "sha256:f0e32cb10654fea91ad56bde89170d78cfbf4363ee0b01d8f097de2ba49f6ce9"
33+
}
34+
}
35+
},
36+
{
37+
"component": {
38+
"type": "other",
39+
"other": {
40+
"name": "nlohmann::json",
41+
"version": "3.12.0",
42+
"downloadUrl": "https://github.com/nlohmann/json/releases/download/v3.12.0/json.tar.xz",
43+
"hash": "sha256:42f6e95cad6ec532fd372391373363b62a14af6d771056dbfc86160e6dfff7aa"
44+
}
45+
}
3346
}
3447
]
3548
}

0 commit comments

Comments
 (0)