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:
parent
52759930bd
commit
c0cebcb19a
|
@ -690,16 +690,6 @@ elseif("${ExternalData_ACTION}" STREQUAL "local")
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
_ExternalData_link_or_copy("${name}" "${file}")
|
_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()
|
else()
|
||||||
message(FATAL_ERROR "Unknown ExternalData_ACTION=[${ExternalData_ACTION}]")
|
message(FATAL_ERROR "Unknown ExternalData_ACTION=[${ExternalData_ACTION}]")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue