From 7be18696bcd9ef9b9e07c5b1b37ac6be25d85861 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 18 Feb 2015 20:31:36 +0100 Subject: [PATCH] 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 --- cmake/modules/FindUMFPACK.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5