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

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

include(hunter_add_version)
include(hunter_cacheable)
include(hunter_configuration_types)
include(hunter_pick_scheme)
include(hunter_download)
include(hunter_cmake_args)

hunter_add_version(
    PACKAGE_NAME mlpack
    VERSION "2.2.5-p0"
    URL "https://github.com/CHChang810716/mlpack/archive/6f070b12bde9427d97e060216662f32138c33791.zip"
    SHA1 "1833281ba08ae6651ce10173584c86644481a302"
)
hunter_add_version(
    PACKAGE_NAME mlpack
    VERSION "2.2.5-p1"
    URL "https://github.com/CHChang810716/mlpack/archive/mlpack-2.2.5-p1.zip"
    SHA1 "7a9e29feb1105b80dc1e54fc8e78d85e298ad214"
)

hunter_cmake_args(
    mlpack
    CMAKE_ARGS
        BUILD_TESTS=OFF 
        BUILD_CLI_EXECUTABLES=OFF 
        USE_OPENMP=OFF
#        BUILD_PYTHON_BINDINGS=OFF 
)

# hunter_configuration_types(mlpack CONFIGURATION_TYPES Release)
hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(mlpack)
hunter_download(
    PACKAGE_NAME mlpack
)
