From d04af6f842a34dc80973c429c6afe5e7ab200523 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Tue, 18 May 2021 11:59:31 +0200
Subject: [PATCH] [cpm] Fixed config errors in xdmf due to OPTIONS scope.

---
 scripts/cmake/Dependencies.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/cmake/Dependencies.cmake b/scripts/cmake/Dependencies.cmake
index a011bdb33b3..96815a147a4 100644
--- a/scripts/cmake/Dependencies.cmake
+++ b/scripts/cmake/Dependencies.cmake
@@ -207,6 +207,7 @@ if(OGS_USE_XDMF)
         set(HDF5_INCLUDE_DIR ${HDF5_SOURCE_DIR})
     endif()
 
+    set(XDMF_LIBNAME OgsXdmf CACHE STRING "")
     CPMAddPackage(
         NAME xdmf
         VERSION 3.0.0
-- 
GitLab