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

Merge branch 'issue/remove-enable-ug-flag' into 'master'

Remove ENABLE_UG Flag from cmake files

See merge request !189
parents 985cc2db 3ac68b46
No related branches found
No related tags found
1 merge request!189Remove ENABLE_UG Flag from cmake files
Pipeline #39462 passed with warnings
......@@ -3,19 +3,7 @@ set(UG_FOUND True)
set(HAVE_UG True)
set(UG_VERSION "${DUNE_UGGRID_VERSION}")
set(UG_DEFINITIONS)
if(UG_PARALLEL)
# Actually we probably should activate UG
# for everything. But for the time being we fall
# back to the enable trick. To change this just
# uncomment the lines below.
#add_definitions("-DENABLE_UG=1")
#add_definitions("-DModelP")
set(UG_DEFINITIONS "ENABLE_UG=1;ModelP")
else()
# Actually we probably should activate UG
# for everything. But for the time being we fall
# back to the enable trick. To change this just
# uncomment the lines below.
#add_definitions("-DENABLE_UG=1")
set(UG_DEFINITIONS "ENABLE_UG=1")
list(APPEND UG_DEFINITIONS "ModelP")
endif()
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