Searching for boost only once.

This commit is contained in:
clemahieu 2016-04-21 23:48:25 -05:00
commit 0690ce4e8a
2 changed files with 1 additions and 4 deletions

View file

@ -39,7 +39,7 @@ endif (WIN32)
include_directories (${CMAKE_SOURCE_DIR})
find_package (Boost 1.57.0 REQUIRED COMPONENTS filesystem system log log_setup thread program_options)
find_package (Boost 1.57.0 REQUIRED COMPONENTS filesystem system log log_setup thread program_options regex chrono atomic)
include_directories (${Boost_INCLUDE_DIR})
find_package (Qt5 REQUIRED COMPONENTS Core Gui Widgets Test ${PLATFORM_QT_PACKAGES})

View file

@ -41,9 +41,6 @@ else()
endif()
set(Boost_USE_MULTI_THREADED ON)
find_package( Boost 1.54.0
REQUIRED unit_test_framework system regex date_time thread filesystem
program_options chrono atomic log log_setup )
if (CPP-NETLIB_ENABLE_HTTPS)
find_package( OpenSSL )