[cmake] extract bottom block from config.h.cmake
Compare changes
- Tobias Malkmus authored
For dune-grid a bottom section is needed to place the Grid Type magic at the bottom of the config.h file in derived modules. In this patch a /* begin bottom */ ... /* end bottom */ block from each module's config.h.cmake file is extracted and placed at the end of the collected config.h file. This resolves the problems from FS#1713.
+ 16
− 1
@@ -754,7 +754,18 @@ macro(dune_regenerate_config_cmake)
@@ -762,6 +773,10 @@ macro(dune_regenerate_config_cmake)