From: Martin Quinson Date: Wed, 27 Apr 2016 09:12:04 +0000 (+0200) Subject: don't test for boost-graph as we don't use it yet X-Git-Tag: v3_13~18 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/99a1276938c7b1c0f6e26afde2527bdf6e12ec83 don't test for boost-graph as we don't use it yet --- diff --git a/CMakeLists.txt b/CMakeLists.txt index eced82507b..35e6428f1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -251,17 +251,17 @@ else() set(HAVE_BOOST_CONTEXTS 0) endif() -# Try again to see if we have libboost-context -find_package(Boost 1.42 COMPONENTS context) -set(Boost_FOUND 1) # We don't care of whether this component is missing - -if(Boost_FOUND AND Boost_GRAPH_FOUND) - set(HAVE_BOOST_GRAPH 1) -else() - message (" boost : found.") - message (" boost-graph : missing. Install libboost-graph-dev for this optional feature.") - set(HAVE_BOOST_GRAPH 0) -endif() +# Try again to see if we have libboost-graph +#find_package(Boost 1.42 COMPONENTS graph) +#set(Boost_FOUND 1) # We don't care of whether this component is missing +# +#if(Boost_FOUND AND Boost_GRAPH_FOUND) +# set(HAVE_BOOST_GRAPH 1) +#else() +# message (" boost : found.") +# message (" boost-graph : missing. Install libboost-graph-dev for this optional feature.") +# set(HAVE_BOOST_GRAPH 0) +#endif() # Checks for header libraries functions. CHECK_LIBRARY_EXISTS(execinfo backtrace "" HAVE_BACKTRACE_IN_LIBEXECINFO)