From: Matthias Maier Date: Wed, 18 Feb 2015 19:31:36 +0000 (+0100) Subject: CMake: Bugfix: Also export suitesparse include directories in project config X-Git-Tag: v8.3.0-rc1~447^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F567%2Fhead;p=dealii.git CMake: Bugfix: Also export suitesparse include directories in project config With 053bb82 a direct include of "umfpack.h" was introduced in "sparse_direct.h" which makes it necessary for the user to have the umfpack include directory location available Closes #564 --- diff --git a/cmake/modules/FindUMFPACK.cmake b/cmake/modules/FindUMFPACK.cmake index 88e439c145..bd26c93cdc 100644 --- a/cmake/modules/FindUMFPACK.cmake +++ b/cmake/modules/FindUMFPACK.cmake @@ -1,6 +1,6 @@ ## --------------------------------------------------------------------- ## -## Copyright (C) 2012 - 2014 by the deal.II authors +## Copyright (C) 2012 - 2015 by the deal.II authors ## ## This file is part of the deal.II library. ## @@ -154,6 +154,9 @@ DEAL_II_PACKAGE_HANDLE(UMFPACK INCLUDE_DIRS REQUIRED UMFPACK_INCLUDE_DIR AMD_INCLUDE_DIR OPTIONAL SuiteSparse_config_INCLUDE_DIR + USER_INCLUDE_DIRS + REQUIRED UMFPACK_INCLUDE_DIR AMD_INCLUDE_DIR + OPTIONAL SuiteSparse_config_INCLUDE_DIR LINKER_FLAGS OPTIONAL LAPACK_LINKER_FLAGS CLEAR