From 0690ce4e8ad3e64c5842521fc54bfee825d07421 Mon Sep 17 00:00:00 2001 From: clemahieu Date: Thu, 21 Apr 2016 23:48:25 -0500 Subject: [PATCH] Searching for boost only once. --- CMakeLists.txt | 2 +- cpp-netlib/CMakeLists.txt | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf890839..6817e00b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/cpp-netlib/CMakeLists.txt b/cpp-netlib/CMakeLists.txt index 69b27cc2..a67124af 100644 --- a/cpp-netlib/CMakeLists.txt +++ b/cpp-netlib/CMakeLists.txt @@ -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 )