X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0c54495555dec7f8be37511e762e6120b8d80c7c..40e0697f5bbf71106675e51ded0ae341bdc3dbf4:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f813d5175..342de40b88 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -273,16 +273,8 @@ endif() find_package(Boost COMPONENTS context) set(Boost_FOUND 1) # This component is optional if(Boost_CONTEXT_FOUND) - if (Boost_VERSION LESS 105600) - message("Found Boost.Context API v1") - set(HAVE_BOOST_CONTEXTS 1) - elseif(Boost_VERSION LESS 106100) - message("Found Boost.Context API v2") - set(HAVE_BOOST_CONTEXTS 2) - else() - message(" WARNING : our implementation of Boost context factory is not compatible with Boost >=1.61 yet.") - set(HAVE_BOOST_CONTEXTS 0) - endif() + message("Found Boost.Context") + set(HAVE_BOOST_CONTEXTS 1) else() message (" boost : found.") message (" boost-context: missing. Install libboost-context-dev for this optional feature.")