From fe33e984202519715708a0da05fd2184a2628255 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Wed, 28 Aug 2019 15:00:13 +0200 Subject: [PATCH] don't forget to set include path in this case. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 80759314a2..fb3d17204d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -291,6 +291,9 @@ set(_Boost_STACKTRACE_ADDR2LINE_HEADERS "boost/stacktrace.hpp") find_package(Boost 1.48) #try without optional libraries if(NOT Boost_FOUND) message(FATAL_ERROR "Boost libraries not found. Install libboost-dev (>= 1.48.0).") + else() + include_directories(${Boost_INCLUDE_DIRS}) + message(STATUS "Mandatory components found. SimGrid is compilable.") endif() endif() endif() -- 2.20.1