CMake implementation of md5sum not supports --check. Instead parse the .md5 and verify each file manually.
Macro moved to CMake/CheckHash.cmake A warning for hash failure also added.