We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aead42 commit e6d6335Copy full SHA for e6d6335
CMakeLists.txt
@@ -5,6 +5,8 @@
5
6
cmake_minimum_required(VERSION 2.6)
7
project(CPP-NETLIB)
8
+set(Boost_USE_STATIC_LIBS ON)
9
+set(Boost_USE_MULTI_THREADED ON)
10
find_package( Boost 1.43.0 REQUIRED unit_test_framework system regex date_time thread filesystem )
11
find_package( OpenSSL )
12
find_package( Threads )
@@ -15,8 +17,6 @@ if (CMAKE_BUILD_TYPE MATCHES Debug)
15
17
endif()
16
18
19
if (Boost_FOUND)
- set(Boost_USE_STATIC_LIBS ON)
- set(Boost_USE_MULTI_THREADED ON)
20
include_directories(${Boost_INCLUDE_DIRS})
21
22
enable_testing()
0 commit comments