set (REASON_FAILURE_MESSAGE "Reason Failure") set (CustomMessage_NOT_FOUND_MESSAGE "Not Found Message") find_package(CustomMessage 1.2 REQUIRED)