File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 2.6)
7
7
project (CPP-NETLIB )
8
8
set (Boost_USE_STATIC_LIBS ON )
9
9
set (Boost_USE_MULTI_THREADED ON )
10
- find_package ( Boost 1.43 .0 REQUIRED unit_test_framework system regex date_time thread filesystem )
10
+ find_package ( Boost 1.45 .0 REQUIRED unit_test_framework system regex date_time thread filesystem program_options )
11
11
find_package ( OpenSSL )
12
12
find_package ( Threads )
13
13
set (CMAKE_VERBOSE_MAKEFILE true )
@@ -19,6 +19,11 @@ endif()
19
19
if (Boost_FOUND )
20
20
include_directories (${Boost_INCLUDE_DIRS} )
21
21
endif ()
22
+
23
+ if (OpenSSL_FOUND )
24
+ add_definitions (-DBOOST_NETWORK_ENABLE_HTTPS )
25
+ endif ()
26
+
22
27
enable_testing ()
23
28
add_subdirectory (libs/network/src )
24
29
add_subdirectory (libs/network/test )
Original file line number Diff line number Diff line change 6
6
7
7
# boost_network_uri
8
8
include_directories (${CPP-NETLIB_SOURCE_DIR} )
9
+
9
10
set (CPP-NETLIB_URI_SRCS uri/parse.cpp )
10
11
add_library (cppnetlib-uri-parsers ${CPP-NETLIB_URI_SRCS} )
11
12
You can’t perform that action at this time.
0 commit comments