AddPTScotchFlags

Helpers for using PTScotch from DUNE targets.

add_dune_ptscotch_flags

Link the given targets against the imported PTScotch targets and add the corresponding compile definitions.

The command links PTScotch::Scotch when the sequential Scotch library is available and PTScotch::PTScotch when the parallel PTScotch library is available.

add_dune_ptscotch_flags(<target> [<target>...])
targets

One or more existing targets to configure.