summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-24 19:06:17 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-28 20:31:31 (GMT)
commitc0cebcb19ae53773f6b21035813c6d58dd829b94 (patch)
treed2733cb35f59c813fa77bab7a574a7bddea7469d
parent52759930bd7a5e1642b16cdc2bde3d23aaaddd2c (diff)
downloadCMake-c0cebcb19ae53773f6b21035813c6d58dd829b94.zip
CMake-c0cebcb19ae53773f6b21035813c6d58dd829b94.tar.gz
CMake-c0cebcb19ae53773f6b21035813c6d58dd829b94.tar.bz2
ExternalData: Remove unused private interface
The 'store' action was part of an older design and is no longer needed. Remove it.
-rw-r--r--Modules/ExternalData.cmake10
1 files changed, 0 insertions, 10 deletions
diff --git a/Modules/ExternalData.cmake b/Modules/ExternalData.cmake
index 0800bb3..d678cf2 100644
--- a/Modules/ExternalData.cmake
+++ b/Modules/ExternalData.cmake
@@ -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()