From ccb7cf62978f07dc6a7c7517de83ea0a36d7d0d5 Mon Sep 17 00:00:00 2001 From: Qihe Bian Date: Wed, 31 Jan 2018 21:31:41 +0800 Subject: [PATCH] Update hunter. --- .gitignore | 1 + CMakeLists.txt | 4 ++-- cmake/HunterGate.cmake | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a63030df..1701c032 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ /build /crossdock/crossdock /crossdock/jaeger-docker-compose.yml +/out # vim swap files *.swo diff --git a/CMakeLists.txt b/CMakeLists.txt index f103d986..eea9c4d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,8 +9,8 @@ set(CMAKE_TOOLCHAIN_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cmake/toolchain.cmake" include(CMakeDependentOption) include(HunterGate) HunterGate( - URL "https://github.com/ruslo/hunter/archive/v0.19.174.tar.gz" - SHA1 "712898528fb6dc8532454e2e323404d93a76d8ec" + URL "https://github.com/ruslo/hunter/archive/v0.19.240.tar.gz" + SHA1 "aa3cd9c45391d8bd14441971b00a43c05d40347c" LOCAL ) diff --git a/cmake/HunterGate.cmake b/cmake/HunterGate.cmake index 3a8043d2..c24c0e57 100644 --- a/cmake/HunterGate.cmake +++ b/cmake/HunterGate.cmake @@ -54,6 +54,7 @@ include(CMakeParseArguments) # cmake_parse_arguments option(HUNTER_STATUS_PRINT "Print working status" ON) option(HUNTER_STATUS_DEBUG "Print a lot info" OFF) +option(HUNTER_TLS_VERIFY "Enable/disable TLS certificate checking on downloads" ON) set(HUNTER_WIKI "https://github.com/ruslo/hunter/wiki") @@ -275,6 +276,8 @@ function(hunter_gate_download dir) " SHA1=${HUNTER_GATE_SHA1}\n" " DOWNLOAD_DIR\n" " \"${dir}\"\n" + " TLS_VERIFY\n" + " ${HUNTER_TLS_VERIFY}\n" " SOURCE_DIR\n" " \"${dir}/Unpacked\"\n" " CONFIGURE_COMMAND\n"