From 1fc2269025deb9949ed3e35b9d0fec47833bf5b9 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Tue, 4 Oct 2016 18:17:52 +0200
Subject: [PATCH] [Build]   Link HDF5 statically

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 76a4987f..26dfa659 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,7 @@ dune_project()
 
 set(Boost_USE_STATIC_LIBS ON)
 find_package(Boost REQUIRED system filesystem)
+set(HDF5_USE_STATIC_LIBRARIES ON)
 find_package(HDF5 COMPONENTS C REQUIRED)
 
 add_subdirectory("src")
-- 
GitLab