From c1c71f2562d8a8dac47d5a5c482a681976f8cc37 Mon Sep 17 00:00:00 2001
From: Felix Gruber <gruber@igpm.rwth-aachen.de>
Date: Tue, 21 Apr 2015 14:30:36 +0200
Subject: [PATCH] also install the new CMake Macros when using autotools

---
 cmake/modules/Makefile.am | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cmake/modules/Makefile.am b/cmake/modules/Makefile.am
index 8697915c2..87a7ad179 100644
--- a/cmake/modules/Makefile.am
+++ b/cmake/modules/Makefile.am
@@ -11,6 +11,7 @@ MODULES = \
   DuneCxaDemangle.cmake   \
   DuneDoc.cmake           \
   DuneDoxygen.cmake       \
+  DuneEnableAllPackages.cmake \
   DuneMacros.cmake        \
   DuneMPI.cmake           \
   DunePkgConfig.cmake     \
@@ -25,14 +26,17 @@ MODULES = \
   FindMProtect.cmake      \
   FindParMETIS.cmake      \
   FindPTScotch.cmake      \
+  FindThreadsCMake31.cmake \
   FindUMFPack.cmake       \
   Headercheck.cmake       \
   LanguageSupport.cmake   \
   UseInkscape.cmake       \
   UseLATEX.cmake
 
+TESTPROGRAMS = CheckForPthreads.c
+
 modulesdir = $(datadir)/dune/cmake/modules
-dist_modules_DATA = ${MODULES}
+dist_modules_DATA = ${MODULES} ${TESTPROGRAMS}
 
 include $(top_srcdir)/am/global-rules
 EXTRA_DIST = CMakeLists.txt
-- 
GitLab