Skip to content
Snippets Groups Projects
Commit c4aa6f03 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[cmake] use GridUtils to define GRIDTYPE and GRIDDIM

These can be now changed using ccmake. Additionally default to ALUGRID_.
This made HAVE_ALUGRID true in the testcases for me.
parent d1ee2e76
No related branches found
No related tags found
No related merge requests found
...@@ -117,8 +117,11 @@ else(CMAKE_WITH_AUTOTOOLS) ...@@ -117,8 +117,11 @@ else(CMAKE_WITH_AUTOTOOLS)
) )
include(DuneUtils) include(DuneUtils)
include(GridUtils)
# configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_config.h.in ${CMAKE_CURRENT_BINARY_DIR}/cmake_config.h ) # 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} ) link_directories( "/usr/lib" ${CCGNU_LIBRARY_DIRS} )
......
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