Commit 95427e97 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Only build the examples when dune-pdelab is available

parent e8132fd1
if (dune-pdelab_FOUND)
add_executable("contact" contact.cc)
target_link_dune_default_libraries("contact")
set(programs contact
obstacle
poisson
trescafriction)
add_executable("obstacle" obstacle.cc)
target_link_dune_default_libraries("obstacle")
foreach(_program ${programs})
add_executable(${_program} ${_program}.cc)
target_link_dune_default_libraries(${_program})
endforeach()
add_executable("poisson" poisson.cc)
target_link_dune_default_libraries("poisson")
add_executable("trescafriction" trescafriction.cc)
target_link_dune_default_libraries("trescafriction")
endif()
Markdown is supported
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