Skip to content
Snippets Groups Projects
Commit ed03020c authored by Christoph Grüninger's avatar Christoph Grüninger Committed by Carsten Gräser
Browse files

[CMake] Fix FindBoostFusion.cmake.


BOOST_FOUND seems to be no longer known, use
HAVE_DUNE_BOOST instead.

(cherry picked from commit dfeeea79)
Signed-off-by: default avatarCarsten Gräser <graeser@dune-project.org>
parent 4660a5d1
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
include(DuneBoost) include(DuneBoost)
if(BOOST_FOUND) if(HAVE_DUNE_BOOST)
message(STATUS "Checking whether the Boost::FUSION library is available.") message(STATUS "Checking whether the Boost::FUSION library is available.")
check_cxx_source_compiles(" check_cxx_source_compiles("
\#include <boost/fusion/container.hpp> \#include <boost/fusion/container.hpp>
...@@ -18,6 +18,6 @@ int main(){ ...@@ -18,6 +18,6 @@ int main(){
if(HAVE_BOOST_FUSION) if(HAVE_BOOST_FUSION)
message(STATUS "Boost::FUSION is available") message(STATUS "Boost::FUSION is available")
endif(HAVE_BOOST_FUSION) endif(HAVE_BOOST_FUSION)
else(BOOST_FOUND) else()
message(STATUS "Skipping check for Boost::FUSION as Boost is not available.") message(STATUS "Skipping check for Boost::FUSION as Boost is not available.")
endif(BOOST_FOUND) endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment