mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Add support for a special URL template to map the fetch operation to a project-specified .cmake script insead of using file(DOWNLOAD). Extend the Module.ExternalData test to cover the behavior. Extend the RunCMake.ExternalData test to cover error cases.
6 lines
145 B
CMake
6 lines
145 B
CMake
include(ExternalData)
|
|
set(ExternalData_URL_TEMPLATES
|
|
"ExternalDataCustomScript://MissingKey/%(algo)/%(hash)"
|
|
)
|
|
ExternalData_Add_Target(Data)
|