make compilation of flow_multisegment_mpi conditional

if(DUNE_CORNERPOINT_FOUND OR dune-cornerpoint_FOUND)
This commit is contained in:
Kai Bao 2015-11-25 13:15:06 +01:00
parent 38a9dbd9ff
commit c5252ae1ce
2 changed files with 1 additions and 1 deletions

View File

@ -90,6 +90,7 @@ macro (sources_hook)
if(DUNE_CORNERPOINT_FOUND OR dune-cornerpoint_FOUND)
list (APPEND examples_SOURCES
${PROJECT_SOURCE_DIR}/examples/flow_mpi.cpp
${PROJECT_SOURCE_DIR}/examples/flow_multisegment_mpi.cpp
)
endif()
endmacro (sources_hook)

View File

@ -78,7 +78,6 @@ list (APPEND TEST_DATA_FILES
list (APPEND EXAMPLE_SOURCE_FILES
examples/find_zero.cpp
examples/flow.cpp
examples/flow_multisegment_mpi.cpp
examples/flow_multisegment.cpp
examples/flow_solvent.cpp
examples/sim_2p_incomp_ad.cpp