CPP: Add "system" as a Boost component.
[platform/upstream/libphonenumber.git] / cpp / CMakeLists.txt
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 ()