From 382a3ec48c48db379bae7f69b5f98a9e7acaacfb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org>
Date: Tue, 7 Jan 2020 22:40:02 +0100
Subject: [PATCH] Fix installation of ddd.h

---
 dune/uggrid/parallel/ddd/CMakeLists.txt         | 3 ++-
 dune/uggrid/parallel/ddd/include/CMakeLists.txt | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)
 create mode 100644 dune/uggrid/parallel/ddd/include/CMakeLists.txt

diff --git a/dune/uggrid/parallel/ddd/CMakeLists.txt b/dune/uggrid/parallel/ddd/CMakeLists.txt
index ea5cc323a..5514c1fbb 100644
--- a/dune/uggrid/parallel/ddd/CMakeLists.txt
+++ b/dune/uggrid/parallel/ddd/CMakeLists.txt
@@ -1,9 +1,10 @@
+add_subdirectory(include)
+
 install(FILES
   dddconstants.hh
   dddcontext.hh
   dddtypes.hh
   dddtypes_impl.hh
-  include/ddd.h
   DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/uggrid/parallel/ddd)
 
 if(UG_ENABLE_PARALLEL)
diff --git a/dune/uggrid/parallel/ddd/include/CMakeLists.txt b/dune/uggrid/parallel/ddd/include/CMakeLists.txt
new file mode 100644
index 000000000..05a72039a
--- /dev/null
+++ b/dune/uggrid/parallel/ddd/include/CMakeLists.txt
@@ -0,0 +1,3 @@
+install(FILES
+  ddd.h
+  DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/uggrid/parallel/ddd/include)
-- 
GitLab