From dfeeea798b3f2360c45407ac9172c9a69dc46da9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org>
Date: Mon, 1 Jun 2015 12:08:35 +0200
Subject: [PATCH] [CMake] Fix FindBoostFusion.cmake.

BOOST_FOUND seems to be no longer known, use
HAVE_DUNE_BOOST instead.
---
 cmake/modules/FindBoostFusion.cmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmake/modules/FindBoostFusion.cmake b/cmake/modules/FindBoostFusion.cmake
index c8e0a0825..90579940a 100644
--- a/cmake/modules/FindBoostFusion.cmake
+++ b/cmake/modules/FindBoostFusion.cmake
@@ -7,7 +7,7 @@
 #
 include(DuneBoost)
 
-if(BOOST_FOUND)
+if(HAVE_DUNE_BOOST)
   message(STATUS "Checking whether the Boost::FUSION library is available.")
   check_cxx_source_compiles("
 \#include <boost/fusion/container.hpp>
@@ -18,6 +18,6 @@ int main(){
   if(HAVE_BOOST_FUSION)
     message(STATUS "Boost::FUSION is available")
   endif(HAVE_BOOST_FUSION)
-else(BOOST_FOUND)
+else()
   message(STATUS "Skipping check for Boost::FUSION as Boost is not available.")
-endif(BOOST_FOUND)
+endif()
-- 
GitLab