cmake: add SHA1SUM_SUPPORT option

Authored by habacker on May 27 2019, 8:43 PM.