mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
ExternalData: Remove unused private interface
The 'store' action was part of an older design and is no longer needed. Remove it.
This commit is contained in:
@@ -690,16 +690,6 @@ elseif("${ExternalData_ACTION}" STREQUAL "local")
|
||||
endif()
|
||||
endforeach()
|
||||
_ExternalData_link_or_copy("${name}" "${file}")
|
||||
elseif("${ExternalData_ACTION}" STREQUAL "store")
|
||||
foreach(v dir file)
|
||||
if(NOT DEFINED "${v}")
|
||||
message(FATAL_ERROR "No \"-D${v}=\" value provided!")
|
||||
endif()
|
||||
endforeach()
|
||||
if(NOT DEFINED algo)
|
||||
set(algo "MD5")
|
||||
endif()
|
||||
_ExternalData_compute_hash(hash "${algo}" "${file}")
|
||||
else()
|
||||
message(FATAL_ERROR "Unknown ExternalData_ACTION=[${ExternalData_ACTION}]")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user