From 9db484a65dd5449de5cdc31195aadd0ea16aaad2 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 21 Jun 2023 21:02:34 -0500 Subject: [PATCH] Bundled: add missing includes to compile bundled umfpack target --- bundled/umfpack/AMD/Source/CMakeLists.txt | 1 + bundled/umfpack/UMFPACK/Source/CMakeLists.txt | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/bundled/umfpack/AMD/Source/CMakeLists.txt b/bundled/umfpack/AMD/Source/CMakeLists.txt index 72fc3ea900..2b36423bd0 100644 --- a/bundled/umfpack/AMD/Source/CMakeLists.txt +++ b/bundled/umfpack/AMD/Source/CMakeLists.txt @@ -30,6 +30,7 @@ set(src_amd amd_valid.cc ) +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../Include) define_object_library(bundled_amd_int OBJECT ${src_amd}) deal_ii_add_definitions(bundled_amd_int "DINT") diff --git a/bundled/umfpack/UMFPACK/Source/CMakeLists.txt b/bundled/umfpack/UMFPACK/Source/CMakeLists.txt index 2378c32ddc..2c77619c4a 100644 --- a/bundled/umfpack/UMFPACK/Source/CMakeLists.txt +++ b/bundled/umfpack/UMFPACK/Source/CMakeLists.txt @@ -348,6 +348,10 @@ set(src_umfpack_GENERIC umfpack_timer.cc ) +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR}/../Include + ${CMAKE_CURRENT_SOURCE_DIR}/../../AMD/Include + ) #------------------------------------------------------------------------------- # Compile each of the following files as long int routines; UMFPACK also allows -- 2.39.5