From 3daec77345fb1eac08cbd4e146e1d5c8cdea6ba0 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Tue, 19 Mar 2019 10:08:36 +0100
Subject: [PATCH] [CMake] Added CVODE_INCLUDE_DIRS to MathLib.

Is required when CVode is installed in a non-standard location.
---
 MathLib/CMakeLists.txt   | 1 +
 ThirdParty/cmake-modules | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/MathLib/CMakeLists.txt b/MathLib/CMakeLists.txt
index 8a51e27b4ca..bbde7cd43d1 100644
--- a/MathLib/CMakeLists.txt
+++ b/MathLib/CMakeLists.txt
@@ -39,6 +39,7 @@ set_target_properties(MathLib PROPERTIES LINKER_LANGUAGE CXX)
 target_link_libraries(MathLib PUBLIC BaseLib logog ${OpenMP_CXX_LIBRARIES})
 
 if (CVODE_FOUND)
+    target_include_directories(MathLib PRIVATE ${CVODE_INCLUDE_DIRS})
     target_link_libraries(MathLib PUBLIC ${CVODE_LIBRARIES})
 endif()
 
diff --git a/ThirdParty/cmake-modules b/ThirdParty/cmake-modules
index 9d5f5fa5518..0068e164eb5 160000
--- a/ThirdParty/cmake-modules
+++ b/ThirdParty/cmake-modules
@@ -1 +1 @@
-Subproject commit 9d5f5fa551826cf071b898dce9b8b2f27df0bcd5
+Subproject commit 0068e164eb5ab1e16c931e50094846789b49cdc0
-- 
GitLab