From ce848a362e4db02f8b0953f74140342a9a8747f1 Mon Sep 17 00:00:00 2001
From: Rene Halver <r.halver@fz-juelich.de>
Date: Thu, 21 Jan 2021 12:21:58 +0100
Subject: [PATCH] forced C++ dependency to ALL library for Fortran compilations

---
 src/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 097851a..2584174 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -25,6 +25,8 @@ if(CM_ALL_VORONOI)
     target_link_libraries(ALL PUBLIC voro)
 endif(CM_ALL_VORONOI)
 
+target_link_libraries(ALL INTERFACE stdc++)
+
 target_include_directories(ALL PUBLIC ${MPI_CXX_INCLUDE_PATH})
 target_include_directories (ALL
     PUBLIC
-- 
GitLab