2 message(FATAL_ERROR "MD5 not specified")
6 message(FATAL_ERROR "FILE not specified")
9 file(MD5 ${FILE} MD5FILE)
11 if(NOT MD5 STREQUAL MD5FILE)
12 message(FATAL_ERROR "MD5 of ${FILE} should be ${MD5}, not ${MD5FILE}.")
14 message(STATUS "${MD5}: OK")