Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5 from isaachier/hunter-1.2.16
Browse files Browse the repository at this point in the history
Update Hunter for oniguruma package
  • Loading branch information
ruslo authored Mar 29, 2018
2 parents 8236711 + 0c755a7 commit 1ca6cf5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

include(HunterGate)
HunterGate(
URL "https://github.com/ruslo/hunter/archive/v0.20.27.tar.gz"
SHA1 "aafefc6377dc9a25d84703702e22434cd6f71d5c"
URL "https://github.com/ruslo/hunter/archive/v0.20.31.tar.gz"
SHA1 "65c8f2292566aedb2fe10e08e09c74dda8e5d07a"
)

project(libevhtp VERSION 1.2.16)
Expand Down Expand Up @@ -79,12 +79,12 @@ if(NOT EVHTP_DISABLE_EVTHR)
endif()
endif()

# TODO: Add Oniguruma to Hunter
# if(NOT EVHTP_DISABLE_REGEX)
# find_package(Oniguruma CONFIG REQUIRED)
# list(APPEND LIBEVHTP_EXTERNAL_LIBS ${ONIGURUMA_LIBRARIES})
# list(APPEND package_deps Oniguruma)
# endif()
if(NOT EVHTP_DISABLE_REGEX)
hunter_add_package(oniguruma)
find_package(oniguruma CONFIG REQUIRED)
list(APPEND LIBEVHTP_EXTERNAL_LIBS oniguruma::onig)
list(APPEND package_deps oniguruma)
endif()

# TODO: Add jemalloc and tcmalloc to Hunter
# if(EVHTP_ALLOCATOR STREQUAL "jemalloc")
Expand Down

0 comments on commit 1ca6cf5

Please sign in to comment.