Strip Down dependencies

presentation
Andreas Butti 7 years ago
parent 68c4ab56fb
commit a111436cc6
  1. 10
      .travis.yml
  2. 3
      CMakeLists.txt

@ -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

@ -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)

Loading…
Cancel
Save