mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 23:29:57 +00:00
f7f4ca55bd
Allow URL templates to contain a %(algo:<key>) placeholder that is replaced by mapping the canonical hash algorithm name through a map defined by the <key>. Extend the Module.ExternalData test to cover the behavior. Extend the RunCMake.ExternalData test to cover error cases.
6 lines
124 B
CMake
6 lines
124 B
CMake
include(ExternalData)
|
|
set(ExternalData_URL_TEMPLATES
|
|
"file:///path/to/%(algo:)/%(hash)"
|
|
)
|
|
ExternalData_Add_Target(Data)
|