Skip to content
Snippets Groups Projects
Commit 5bafb3d5 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[cmake,ug] deprecation warning for UG as an external lib

parent 003073f5
Branches
Tags
1 merge request!94Feature/deprecate external ug
Pipeline #
......@@ -58,6 +58,8 @@
# old doc: indicates that the targets are object libraries.
#
# support for exgernal UG is deprecated in Dune 2.5. We will keep it in Dune 2.6-git as long as feasable
set_package_info("UG" "External UG grid, superseded by dune-uggrid" "http://www.iwr.uni-heidelberg.de/frame/iwrwikiequipment/software/ug")
if(NOT dune-uggrid_FOUND)
if(UG_ROOT AND NOT UG_DIR)
......@@ -148,6 +150,9 @@ if(UG_FOUND)
dune_define_gridtype(GRID_CONFIG_H_BOTTOM GRIDTYPE UGGRID ASSERTION GRIDDIM == WORLDDIM
DUNETYPE "Dune::UGGrid< dimgrid >"
HEADERS dune/grid/uggrid.hh dune/grid/io/file/dgfparser/dgfug.hh)
# support for exgernal UG is deprecated in Dune 2.5. We will keep it in Dune 2.6-git as long as feasable
message(WARNING "The support of UG as an external library is deprecated in Dune 2.5. Use dune-uggrid instead.")
endif()
# Add flags to targets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment