]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add metis include dir to USER_INCLUDE_DIRS 2138/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 5 Feb 2016 14:30:16 +0000 (09:30 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 5 Feb 2016 14:30:16 +0000 (09:30 -0500)
otherwise tests/metis/metis_01a fails with "fatal error: 'metis.h' file not found"

cmake/modules/FindMETIS.cmake

index b5de6e7aea061f14bfc959ddfe9b2cbdc69022f7..4b2672bdb4f10e37ffe70a901754d22c06c1eeac 100644 (file)
@@ -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
   )

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.