From 57ef18c01e14175deef0a120e2eb92d32cdcb5ab Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 4 Jan 2023 12:41:19 -0600 Subject: [PATCH] CMake: fix kokkos header installation --- bundled/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bundled/CMakeLists.txt b/bundled/CMakeLists.txt index f45c0afbd0..cce04492e3 100644 --- a/bundled/CMakeLists.txt +++ b/bundled/CMakeLists.txt @@ -44,9 +44,15 @@ endif() if(FEATURE_KOKKOS_BUNDLED_CONFIGURED) add_subdirectory(${KOKKOS_FOLDER}) - install(DIRECTORY ${KOKKOS_BUNDLED_INCLUDE_DIRS} + install(DIRECTORY + ${KOKKOS_FOLDER}/algorithms/src/ + ${KOKKOS_FOLDER}/containers/src/ + ${KOKKOS_FOLDER}/core/src/ + ${KOKKOS_FOLDER}/simd/src/ + ${KOKKOS_FOLDER}/tpls/desul/include/ DESTINATION ${DEAL_II_INCLUDE_RELDIR}/deal.II/bundled COMPONENT library + FILES_MATCHING PATTERN "*.hpp" ) endif() -- 2.39.5