Commit 8d56e0a8 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Update CMakeLists.txt

parent 4744d81b
......@@ -42,7 +42,7 @@ if (ALBERTA_FOUND)
add_dependencies(examples cahn_hilliard.2d)
endif ()
if (dune-foamgrid_FOUND)
if (dune-foamgrid_FOUND AND ALBERTA_FOUND)
add_amdis_executable(NAME surface.2d SOURCES DIM 2 DOW 3 ALBERTA_GRID)
add_dependencies(examples surface.2d)
endif ()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment