Skip to content

Commit 56a0d4e

Browse files
committed
Hunter packages integration
1 parent a8d281a commit 56a0d4e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CMakeLists.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,28 @@
55

66
cmake_minimum_required(VERSION 2.8)
77
project(CPP-NETLIB)
8+
9+
include("cmake/HunterGate.cmake")
10+
include(hunter_add_package)
11+
hunter_add_package(OpenSSL)
12+
hunter_add_package(Sugar)
13+
hunter_add_package(
14+
Boost
15+
COMPONENTS
16+
chrono
17+
date_time
18+
filesystem
19+
program_options
20+
regex
21+
system
22+
test
23+
thread
24+
)
25+
include("${SUGAR_ROOT}/cmake/Sugar")
26+
if(APPLE)
27+
hunter_add_package(ios_sim)
28+
endif()
29+
830
set(Boost_USE_STATIC_LIBS ON)
931
set(Boost_USE_MULTI_THREADED ON)
1032
find_package( Boost 1.45.0 REQUIRED unit_test_framework system regex date_time thread filesystem program_options chrono )

0 commit comments

Comments
 (0)