# Copyright (c) 2016, Ruslan Baratov, Alexandre Pretyman
# All rights reserved.

# !!! DO NOT PLACE HEADER GUARDS HERE !!!

include(hunter_add_version)
include(hunter_configuration_types)
include(hunter_pick_scheme)
include(hunter_download)

hunter_add_version(
    PACKAGE_NAME
    MySQL-client
    VERSION
    "6.1.6"
    URL
    "https://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-6.1.6-src.tar.gz"
    SHA1
    2444586365c2c58e7ca2397d4617e5fe19f9f246
)
# CONFIGURATION_TYPES is set to Release, because Debug is bugged at the moment
# see https://github.com/ruslo/hunter/issues/303
hunter_configuration_types(MySQL-client CONFIGURATION_TYPES Release)
hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_download(PACKAGE_NAME MySQL-client)

