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>

Blue committed Mar 27, 2026 at 11:00 UTC a13c1577c2dddfd31c9244c8a4b3153c6e7d166b
2 files changed +24 -9
CMakeLists.txt
+2
@@ -33,6 +33,8 @@ include(FetchContent)
33
34 set(FETCHCONTENT_BASE_DIR ${CMAKE_BINARY_DIR}/_deps/${TARGET_PLATFORM})
35
36 +# N.B. Changes to any of the FetchContent dependencies below (GSL, nlohmannjson) must be reflected in cgmanifest.json
37 +
38 FetchContent_Declare(GSL
39 URL https://github.com/microsoft/GSL/archive/refs/tags/v4.0.0.tar.gz
40 URL_HASH SHA256=f0e32cb10654fea91ad56bde89170d78cfbf4363ee0b01d8f097de2ba49f6ce9)
cgmanifest.json
+22 -9
@@ -2,15 +2,6 @@
2 "version": 1,
3 "$schema": "https://json.schemastore.org/component-detection-manifest.json",
4 "registrations": [
5 - {
6 - "component": {
7 - "type": "git",
8 - "git": {
9 - "repositoryUrl": "https://github.com/microsoft/GSL",
10 - "commitHash": "0f6dbc9e2915ef5c16830f3fa3565738de2a9230"
11 - }
12 - }
13 - },
5 {
6 "component": {
7 "type": "git",
@@ -30,6 +21,28 @@
21 "hash": "sha1:918692098b11db61aff23684ab04f375e4a68f69"
22 }
23 }
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 + }
46 }
47 ]
48 }
\ No newline at end of file