From cde2f799328f990ff7c263aa6a8f7a56b34712b4 Mon Sep 17 00:00:00 2001
From: Felix Schindler <felix.schindler@wwu.de>
Date: Thu, 11 Sep 2014 22:24:18 +0200
Subject: [PATCH] Revert "[cmake] use GridUtils to define GRIDTYPE and GRIDDIM"

This reverts commit e90dfa4e46491e1c909995c7dc74bf5f0c68b9a1.

Setting the GRIDTYPE with FORCE does not make any sense of course
(since it overrides any manual change immediately).
---
 CMakeLists.txt | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1e7c91789..734468a2d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,11 +117,8 @@ else(CMAKE_WITH_AUTOTOOLS)
   )
 
   include(DuneUtils)
-  include(GridUtils)
   # configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_config.h.in ${CMAKE_CURRENT_BINARY_DIR}/cmake_config.h )
-  if (ALUGRID_FOUND)
-    set(GRIDTYPE "ALUGRID_CONFORM" CACHE STRING "GRIDTYPE" FORCE)
-  endif (ALUGRID_FOUND)
+
 
   link_directories( "/usr/lib" ${CCGNU_LIBRARY_DIRS} )
 
-- 
GitLab