Skip to content

Commit e6d6335

Browse files
committed
Final twiddling for Boost search.
1 parent 6aead42 commit e6d6335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
cmake_minimum_required(VERSION 2.6)
77
project(CPP-NETLIB)
8+
set(Boost_USE_STATIC_LIBS ON)
9+
set(Boost_USE_MULTI_THREADED ON)
810
find_package( Boost 1.43.0 REQUIRED unit_test_framework system regex date_time thread filesystem )
911
find_package( OpenSSL )
1012
find_package( Threads )
@@ -15,8 +17,6 @@ if (CMAKE_BUILD_TYPE MATCHES Debug)
1517
endif()
1618

1719
if (Boost_FOUND)
18-
set(Boost_USE_STATIC_LIBS ON)
19-
set(Boost_USE_MULTI_THREADED ON)
2020
include_directories(${Boost_INCLUDE_DIRS})
2121
endif()
2222
enable_testing()

0 commit comments

Comments
 (0)