From: Arnaud Giersch Date: Mon, 18 Nov 2013 16:48:13 +0000 (+0100) Subject: Include Boost directories once they're found. X-Git-Tag: v3_11_beta~282 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e0d41d08eba201ecdf07992b420029e1578be31c Include Boost directories once they're found. --- diff --git a/buildtools/Cmake/CompleteInFiles.cmake b/buildtools/Cmake/CompleteInFiles.cmake index aa70002f7c..37e6ef486d 100644 --- a/buildtools/Cmake/CompleteInFiles.cmake +++ b/buildtools/Cmake/CompleteInFiles.cmake @@ -98,7 +98,8 @@ if(enable_ns3) include(FindNS3) endif() -find_package( Boost REQUIRED) +find_package(Boost REQUIRED) +include_directories(${Boost_INCLUDE_DIRS}) # Checks for header libraries functions. CHECK_LIBRARY_EXISTS(pthread pthread_create "" pthread)