Skip to content
Snippets Groups Projects
Commit 5f053401 authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[CMake][ParMETIS] Fix some typos in dune_register_package_flags() call

parent d2beddfc
No related branches found
No related tags found
No related merge requests found
......@@ -98,10 +98,9 @@ if(PARMETIS_FOUND)
"Library directory: ${PARMETIS_LIBRARIES}\n\n")
endif(PARMETIS_FOUND)
#add all parmetis related flags to ALL_PKG_FLAGS, this must happen regardless of a target using add_dune_parmetis_flags
# register all ParMETIS related flags
if(PARMETIS_FOUND)
foreach(dir ${PARMETIS_INCLUDE_DIRS})
set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-I${dir}")
endforeach()
set_property(GLOBAL APPEND PROPERTY ALL_PKG_LIBS "${PARMETIS_LIBRARIES}")
dune_register_package_flags(COMPILE_DEFINITIONS "ENABLE_PARMETIS=1"
LIBRARIES "${PARMETIS_LIBRARIES}"
INCLUDE_DIRS "${PARMETIS_INCLUDE_DIRS}")
endif()
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