diff --git a/.travis.yml b/.travis.yml index 445eed0c..4b61dbf0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,18 +23,18 @@ addons: apt: packages: - cmake - - libboost-all-dev + - libboost-system-dev + - libboost-filesystem-dev + - libboost-locale-dev + - libboost-iostreams-dev - libcppunit-dev - dvipng - texlive - liblcms2-dev - - libopenjpeg-dev - - libopenjp2-7-dev - - libjpeg-dev - fontconfig - libgtk-3-dev - - librsvg2-dev - libpoppler-glib-dev + sources: - boost-latest - kalakris-cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index d7606b01..1e688f99 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,7 +92,6 @@ if (BUILD_BOOST) boost_filesystem boost_locale boost_iostreams - boost_thread boost_system ${ICU_LIBRARIES} ) @@ -101,7 +100,7 @@ if (BUILD_BOOST) else (BUILD_BOOST) set (Boost_USE_MULTITHREADED ON) - find_package (Boost 1.54 COMPONENTS system filesystem locale iostreams thread) + find_package (Boost 1.54 COMPONENTS system filesystem locale iostreams) if (Boost_VERSION VERSION_LESS 1.54) message (FATAL_ERROR "Boost 1.54 or newer not found – you should enable BUILD_BOOST CMake flag") endif (Boost_VERSION VERSION_LESS 1.54)