Blob Blame History Raw
diff -rupN gmsh-4.1.3-source/CMakeLists.txt gmsh-4.1.3-source-new/CMakeLists.txt
--- gmsh-4.1.3-source/CMakeLists.txt	2019-01-24 11:03:39.015351750 +0100
+++ gmsh-4.1.3-source-new/CMakeLists.txt	2019-01-24 11:03:39.018351752 +0100
@@ -934,7 +934,7 @@ if(ENABLE_MED OR ENABLE_CGNS)
     set(HDF5_LIB "${HDF5_C_LIBRARIES}")
     list(APPEND EXTERNAL_INCLUDES ${HDF5_INCLUDE_DIRS})
     if(ENABLE_MED)
-      find_library(MED_LIB med)
+      find_library(MED_LIB medC)
       if(MED_LIB)
         set_config_option(HAVE_MED "Med")
         list(APPEND EXTERNAL_LIBRARIES ${MED_LIB})
diff -rupN gmsh-4.1.3-source/Common/CommandLine.cpp gmsh-4.1.3-source-new/Common/CommandLine.cpp
--- gmsh-4.1.3-source/Common/CommandLine.cpp	2019-01-23 07:27:42.000000000 +0100
+++ gmsh-4.1.3-source-new/Common/CommandLine.cpp	2019-01-24 11:03:39.018351752 +0100
@@ -40,7 +40,7 @@
 #endif
 
 #if defined(HAVE_MED)
-#include "med.h"
+#include <med/med.h>
 #endif
 
 #if defined(HAVE_POST)
diff -rupN gmsh-4.1.3-source/Fltk/helpWindow.cpp gmsh-4.1.3-source-new/Fltk/helpWindow.cpp
--- gmsh-4.1.3-source/Fltk/helpWindow.cpp	2018-12-29 15:02:14.000000000 +0100
+++ gmsh-4.1.3-source-new/Fltk/helpWindow.cpp	2019-01-24 11:03:39.018351752 +0100
@@ -34,7 +34,7 @@
 #endif
 
 #if defined(HAVE_MED)
-#include "med.h"
+#include <med/med.h>
 #endif
 
 static const char *help_link(Fl_Widget *w, const char *uri)
diff -rupN gmsh-4.1.3-source/Geo/GModelIO_MED.cpp gmsh-4.1.3-source-new/Geo/GModelIO_MED.cpp
--- gmsh-4.1.3-source/Geo/GModelIO_MED.cpp	2018-12-29 15:02:14.000000000 +0100
+++ gmsh-4.1.3-source-new/Geo/GModelIO_MED.cpp	2019-01-24 11:03:39.018351752 +0100
@@ -27,7 +27,7 @@
 #include "Context.h"
 
 extern "C" {
-#include <med.h>
+#include <med/med.h>
 }
 
 #if(MED_MAJOR_NUM >= 3)
diff -rupN gmsh-4.1.3-source/Post/PViewDataGModelIO.cpp gmsh-4.1.3-source-new/Post/PViewDataGModelIO.cpp
--- gmsh-4.1.3-source/Post/PViewDataGModelIO.cpp	2018-12-29 15:02:14.000000000 +0100
+++ gmsh-4.1.3-source-new/Post/PViewDataGModelIO.cpp	2019-01-24 11:03:39.019351753 +0100
@@ -470,7 +470,7 @@ void PViewDataGModel::importLists(int N[
 #if defined(HAVE_MED)
 
 extern "C" {
-#include <med.h>
+#include <med/med.h>
 }
 
 #if(MED_MAJOR_NUM >= 3)