Skip to content
Snippets Groups Projects
Commit b71d1daf authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Update FindPTScotch.cmake to the new flag registry

This test has been added while the dune_enable_all_packages
feature was developed...
parent 21f3e893
No related branches found
No related tags found
No related merge requests found
......@@ -74,10 +74,8 @@ if(PTSCOTCH_FOUND)
"Include directory: ${PTSCOTCH_INCLUDE_DIRS}\n"
"Library directory: ${PTSCOTCH_LIBRARIES}\n\n")
foreach(dir ${PTSCOCTH_INCLUDE_DIRS})
set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-I${dir}")
endforeach()
set_property(GLOBAL APPEND PROPERTY ALL_PKG_LIBS "${PTSCOTCH_LIBRARIES}")
dune_register_package_flags(LIBRARIES "${PTSCOTCH_LIBRARIES}"
INCLUDE_DIRECTORIES "${PTSCOTCH_INCLUDE_DIRS}")
endif(PTSCOTCH_FOUND)
mark_as_advanced(PTSCOTCH_INCLUDE_DIR PTSCOTCH_LIBRARIES HAVE_PTSCOTCH)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment