From: Matthias Maier Date: Thu, 19 Feb 2015 19:17:05 +0000 (+0100) Subject: CMake: Bugfix: Also install bundled Umfpack headers X-Git-Tag: v8.3.0-rc1~440^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b476b3f12bfb94e83b4cb4ab1cb75959340851ab;p=dealii.git CMake: Bugfix: Also install bundled Umfpack headers With "sparse_direct.h" directly including "umfpack.h" we also have to make sure to install the bundled header files... --- diff --git a/bundled/CMakeLists.txt b/bundled/CMakeLists.txt index bf12d185cf..eb56adc4c7 100644 --- a/bundled/CMakeLists.txt +++ b/bundled/CMakeLists.txt @@ -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. ## @@ -24,7 +24,6 @@ IF(FEATURE_BOOST_BUNDLED_CONFIGURED) INSTALL(DIRECTORY ${BOOST_FOLDER}/include/boost DESTINATION ${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled COMPONENT library - PATTERN ".svn" EXCLUDE ) ADD_SUBDIRECTORY(${BOOST_FOLDER}/libs/serialization/src) @@ -47,7 +46,6 @@ IF(FEATURE_THREADS_BUNDLED_CONFIGURED) DESTINATION ${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled COMPONENT library FILES_MATCHING PATTERN "*.h" - PATTERN ".svn" EXCLUDE ) ADD_SUBDIRECTORY(${TBB_FOLDER}/src) @@ -57,6 +55,14 @@ ENDIF() IF(FEATURE_UMFPACK_BUNDLED_CONFIGURED) ADD_SUBDIRECTORY(${UMFPACK_FOLDER}/UMFPACK/Source) ADD_SUBDIRECTORY(${UMFPACK_FOLDER}/AMD/Source) + + INSTALL(DIRECTORY + ${UMFPACK_FOLDER}/UMFPACK/Include/ + ${UMFPACK_FOLDER}/AMD/Include/ + DESTINATION ${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled + COMPONENT library + FILES_MATCHING PATTERN "*.h" + ) ENDIF()