Skip to content
Snippets Groups Projects
Commit 4e843569 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Use the proper flag instead of HAVE_UG

parent 5f943a70
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ add_subdirectory("dune")
add_subdirectory("src")
add_subdirectory("cmake/modules")
if(HAVE_AMIRAMESH AND HAVE_IPOPT AND HAVE_PSURFACE AND HAVE_UG)
if(HAVE_AMIRAMESH AND HAVE_IPOPT AND HAVE_PSURFACE AND dune-uggrid_FOUND)
set(programs viscoelast nonlinelast)
foreach(_program ${programs})
......@@ -40,7 +40,7 @@ if(HAVE_AMIRAMESH AND HAVE_IPOPT AND HAVE_PSURFACE AND HAVE_UG)
endforeach()
endif()
if(HAVE_AMIRAMESH AND HAVE_IPOPT AND HAVE_PSURFACE AND HAVE_UG AND ADOLC_FOUND)
if(HAVE_AMIRAMESH AND HAVE_IPOPT AND HAVE_PSURFACE AND dune-uggrid_FOUND AND ADOLC_FOUND)
add_dune_adolc_flags(nonlinelast)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment