Skip to content
Snippets Groups Projects
Commit ba9dc026 authored by Markus Blatt's avatar Markus Blatt
Browse files

[cmake,bugfix] Set the correct property for compilation.

It is INCLUDE_DIRECTORIES and not COMPILE_DIRECTORIES.
parent 7f5eb715
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,6 @@ function(add_dune_metis_flags _targets)
target_link_libraries(${_target} ${METIS_LIBRARY})
endforeach(_target ${_targets})
set_property(TARGET ${_targets} APPEND PROPERTY
COMPILE_DIRECTORIES ${METIS_INCLUDE_DIR})
INCLUDE_DIRECTORIES "${METIS_INCLUDE_DIRS}")
endif(METIS_FOUND)
endfunction(add_dune_metis_flags _targets)
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