From 8b6694850fed5f143de51bcdef4aaab64934cca6 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 1 Dec 2016 22:10:13 +0100 Subject: [PATCH] Add boost unit_test_framework to our dependencies --- CMakeLists.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4857bd4a0d..4f95937385 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -230,17 +230,14 @@ if(enable_smpi_papi) endif() endif() -find_package(Boost 1.48) +find_package(Boost 1.48 COMPONENTS unit_test_framework) if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS}) else() if(APPLE) - message(FATAL_ERROR "Failed to find Boost libraries (Try to install them with 'sudo fink install boost1.53.nopython')") + message(FATAL_ERROR "Boost libraries not found. Try to install them with 'sudo fink install boost1.53.nopython'") else() - message(FATAL_ERROR "Failed to find Boost libraries." - "Did you install libboost-dev and libboost-context-dev?" - "(libboost-context-dev is optional)" - "SimGrid requires Boost >= 1.48.0") + message(FATAL_ERROR "Boost libraries not found. Install libboost-dev libboost-test-dev (>= 1.48.0).") endif() endif() -- 2.20.1