From c9bec15a95c4b34a6c44a389de59f5d553a89ef6 Mon Sep 17 00:00:00 2001 From: Fredrik Roubert Date: Tue, 3 Jun 2014 08:23:42 +0000 Subject: [PATCH] CPP: Add "system" as a Boost component. This is required with newer Boost (starting with 1.50). R=daniel@pocock.pro BUG= Review URL: https://codereview.appspot.com/100910043 --- cpp/CMakeLists.txt | 4 ++-- debian/control | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 054503dc2..42d2fc2b9 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -87,9 +87,9 @@ if (${USE_BOOST} STREQUAL "ON") if (WIN32) set (Boost_USE_STATIC_LIBS ON) endif () - find_package (Boost 1.40.0 COMPONENTS date_time thread) + find_package (Boost 1.40.0 COMPONENTS date_time system thread) if (NOT Boost_FOUND) - print_error ("Boost Datetime/Thread" "Boost") + print_error ("Boost Date_Time/System/Thread" "Boost") endif () include_directories (${Boost_INCLUDE_DIRS}) endif () diff --git a/debian/control b/debian/control index c31234174..f6b0c7be8 100644 --- a/debian/control +++ b/debian/control @@ -7,6 +7,7 @@ Build-Depends: ant, default-jdk | java-sdk, javahelper (>= 0.34), libboost-dev (>= 1.40), + libboost-system-dev (>= 1.40), libboost-thread-dev (>= 1.40), libgtest-dev, libicu-dev (>= 4.4),