From: Timo Heister Date: Fri, 5 Feb 2016 14:30:16 +0000 (-0500) Subject: add metis include dir to USER_INCLUDE_DIRS X-Git-Tag: v8.4.0-rc2~32^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2138%2Fhead;p=dealii.git add metis include dir to USER_INCLUDE_DIRS otherwise tests/metis/metis_01a fails with "fatal error: 'metis.h' file not found" --- diff --git a/cmake/modules/FindMETIS.cmake b/cmake/modules/FindMETIS.cmake index b5de6e7aea..4b2672bdb4 100644 --- a/cmake/modules/FindMETIS.cmake +++ b/cmake/modules/FindMETIS.cmake @@ -103,5 +103,7 @@ DEAL_II_PACKAGE_HANDLE(METIS OPTIONAL MPI_C_LIBRARIES INCLUDE_DIRS REQUIRED METIS_INCLUDE_DIR + USER_INCLUDE_DIRS + REQUIRED METIS_INCLUDE_DIR CLEAR METIS_LIBRARY PARMETIS_LIBRARY METIS_INCLUDE_DIR )