diff --git a/CMakeLists.txt b/CMakeLists.txt index 150a10df2e62cd0245cc6276768efc562e3d0569..6731c276ef6dbbf4956a8379d068e6edd6fc840d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,7 @@ if (WIN32) set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) - find_package(Boost COMPONENTS program_options date_time system filesystem regex thread signals REQUIRED) + find_package(Boost COMPONENTS program_options date_time system filesystem regex thread signals locale REQUIRED) else(WIN32) LIST_CONTAINS(contains -lboost_program_options ${SWIFTEN_LIBRARY}) if(contains) @@ -88,10 +88,10 @@ else(WIN32) set(Boost_USE_MULTITHREADED 0) endif(contains) set(Boost_FIND_QUIETLY ON) - find_package(Boost COMPONENTS program_options date_time system filesystem regex thread-mt signals) + find_package(Boost COMPONENTS program_options date_time system filesystem regex thread-mt signals locale) if (NOT Boost_FOUND) set(Boost_FIND_QUIETLY OFF) - find_package(Boost COMPONENTS program_options date_time system filesystem regex thread signals REQUIRED) + find_package(Boost COMPONENTS program_options date_time system filesystem regex thread signals locale REQUIRED) endif() endif(WIN32)