Skip to content

Commit ae6bea3

Browse files
committed
Improve reference documentation
1 parent 5a0eda7 commit ae6bea3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/cmake-toml.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ components = ["mycomponent"]
137137
condition = "mycondition"
138138
git = "https://github.com/myuser/gitcontent"
139139
tag = "v0.1"
140+
shallow = false
140141

141142
[fetch-content.svncontent]
142143
condition = "mycondition"
@@ -146,7 +147,10 @@ rev = "svn_rev"
146147
[fetch-content.urlcontent]
147148
condition = "mycondition"
148149
url = "https://content-host.com/urlcontent.zip"
149-
hash = "123123123123"
150+
# These are equivalent, supported algorithms:
151+
# md5, sha1, sha224, sha256, sha384, sha512, sha3_224, sha3_256, sha3_384, sha3_512
152+
hash = "SHA1 502a4e25b8b209889c99c7fa0732102682c2e4ff"
153+
sha1 = "502a4e25b8b209889c99c7fa0732102682c2e4ff"
150154
```
151155

152156
## Targets

0 commit comments

Comments
 (0)