Commit 9188c5d0 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

add a suffix to look for (pt)scotch headers in the system

parent 14e4bc52
......@@ -132,7 +132,8 @@ else()
set(PTSCOTCH_ptscotch.h_DIRS "PTSCOTCH_ptscotch.h_DIRS-NOTFOUND")
find_path(PTSCOTCH_ptscotch.h_DIRS
NAMES ptscotch.h
HINTS ${_inc_env})
HINTS ${_inc_env}
PATH_SUFFIXES "scotch")
endif()
endif()
mark_as_advanced(PTSCOTCH_ptscotch.h_DIRS)
......
......@@ -115,7 +115,8 @@ else()
set(SCOTCH_scotch.h_DIRS "SCOTCH_scotch.h_DIRS-NOTFOUND")
find_path(SCOTCH_scotch.h_DIRS
NAMES scotch.h
HINTS ${_inc_env})
HINTS ${_inc_env}
PATH_SUFFIXES "scotch")
endif()
endif()
mark_as_advanced(SCOTCH_scotch.h_DIRS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment