Blob Blame History Raw
From 6f761a0cc4e5ffe5aeab5607de605522b14f1c99 Mon Sep 17 00:00:00 2001
From: Sandro Mani <manisandro@gmail.com>
Date: Tue, 2 May 2017 13:53:59 +0200
Subject: [PATCH] Add missing -ldl

---
 ng/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ng/CMakeLists.txt b/ng/CMakeLists.txt
index d98c802..0a44206 100644
--- a/ng/CMakeLists.txt
+++ b/ng/CMakeLists.txt
@@ -14,6 +14,9 @@ if(USE_GUI)
     if(NOT WIN32)
       target_link_libraries( netgen mesh stlvis stl geom2dvis interface geom2d csg stl visual csgvis )
     endif(NOT WIN32)
+    if(USE_MPI)
+      target_link_libraries(netgen dl)
+    endif(USE_MPI)
 
     install(TARGETS netgen    ${ng_install_dir})
     if(APPLE)
-- 
2.12.2