Skip to content

Commit

Permalink
Searching for boost only once.
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed Apr 22, 2016
1 parent e9d77db commit 0690ce4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
3 changes: 0 additions & 3 deletions cpp-netlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 0690ce4

Please sign in to comment.