CPP: Add "system" as a Boost component.
authorroubert@google.com <roubert@google.com@ee073f10-1060-11df-b6a4-87a95322a99c>
Tue, 3 Jun 2014 08:23:42 +0000 (08:23 +0000)
committerroubert@google.com <roubert@google.com@ee073f10-1060-11df-b6a4-87a95322a99c>
Tue, 3 Jun 2014 08:23:42 +0000 (08:23 +0000)
This is required with newer Boost (starting with 1.50).

R=daniel@pocock.pro
BUG=

Review URL: https://codereview.appspot.com/100910043

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@667 ee073f10-1060-11df-b6a4-87a95322a99c

cpp/CMakeLists.txt
debian/control

index 054503d..42d2fc2 100644 (file)
@@ -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 ()
index c312341..f6b0c7b 100644 (file)
@@ -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),