if(HASH STREQUAL sha2_openssl)
  add_subdirectory(sha2_openssl)
elseif(HASH STREQUAL sha3_brainhub)
  add_subdirectory(sha3_brainhub)
else()
  message(FATAL_ERROR "No such hash implementation ${HASH}")
endif()