]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: fix kokkos header installation 14640/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 4 Jan 2023 18:41:19 +0000 (12:41 -0600)
committerMatthias Maier <tamiko@43-1.org>
Wed, 4 Jan 2023 18:41:19 +0000 (12:41 -0600)
bundled/CMakeLists.txt

index f45c0afbd0fa7f414bf27583eb9a4f58e8791082..cce04492e3c453498345e5f89be36e270437a17e 100644 (file)
@@ -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()
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.