if( ${BUILD_MPI} )
   find_package(Hypre)
   if( ${HYPRE_FOUND} )
      foreach( source IN ITEMS hypre-ex5.c tnl-hypre-ex5.cpp )
         string( REGEX REPLACE "\.cpp|\.c" "" target ${source} )
         add_executable( ${target} ${source} )
         target_compile_definitions( ${target} PUBLIC "-DHAVE_HYPRE" )
         target_include_directories( ${target} PUBLIC ${HYPRE_INCLUDE_DIRS} )
         target_link_libraries( ${target} ${HYPRE_LIBRARIES} -lm )
         install( TARGETS ${target} RUNTIME DESTINATION bin )
      endforeach()
   endif()
endif()
