Blob Blame History Raw
diff -rupN gmsh-3.0.6-source/CMakeLists.txt gmsh-3.0.6-source-new/CMakeLists.txt
--- gmsh-3.0.6-source/CMakeLists.txt	2018-03-10 10:28:45.165972058 +0100
+++ gmsh-3.0.6-source-new/CMakeLists.txt	2018-03-10 11:25:50.178782609 +0100
@@ -893,7 +893,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-3.0.6-source/Common/CommandLine.cpp gmsh-3.0.6-source-new/Common/CommandLine.cpp
--- gmsh-3.0.6-source/Common/CommandLine.cpp	2018-03-10 10:28:45.068972063 +0100
+++ gmsh-3.0.6-source-new/Common/CommandLine.cpp	2018-03-10 10:28:45.167972057 +0100
@@ -29,7 +29,7 @@
 #endif
 
 #if defined(HAVE_MED)
-#include "med.h"
+#include <med/med.h>
 #endif
 
 #if defined(HAVE_POST)
diff -rupN gmsh-3.0.6-source/Fltk/helpWindow.cpp gmsh-3.0.6-source-new/Fltk/helpWindow.cpp
--- gmsh-3.0.6-source/Fltk/helpWindow.cpp	2018-03-10 10:28:45.069972063 +0100
+++ gmsh-3.0.6-source-new/Fltk/helpWindow.cpp	2018-03-10 10:28:45.167972057 +0100
@@ -6,7 +6,7 @@
 #include "GmshConfig.h"
 
 #if defined(HAVE_MED)
-#include "med.h"
+#include <med/med.h>
 #endif
 
 #include <sstream>
diff -rupN gmsh-3.0.6-source/Geo/GModelIO_MED.cpp gmsh-3.0.6-source-new/Geo/GModelIO_MED.cpp
--- gmsh-3.0.6-source/Geo/GModelIO_MED.cpp	2018-03-10 10:28:45.069972063 +0100
+++ gmsh-3.0.6-source-new/Geo/GModelIO_MED.cpp	2018-03-10 10:29:30.961969524 +0100
@@ -25,7 +25,7 @@
 #include "MPyramid.h"
 #include "discreteVertex.h"
 
-#include <med.h>
+#include <med/med.h>
 
 #if (MED_MAJOR_NUM == 3)
 // To avoid too many ifdefs below we use defines for the bits of the
diff -rupN gmsh-3.0.6-source/Post/PViewDataGModelIO.cpp gmsh-3.0.6-source-new/Post/PViewDataGModelIO.cpp
--- gmsh-3.0.6-source/Post/PViewDataGModelIO.cpp	2018-03-10 10:28:45.069972063 +0100
+++ gmsh-3.0.6-source-new/Post/PViewDataGModelIO.cpp	2018-03-10 10:29:46.418968669 +0100
@@ -361,7 +361,7 @@ void PViewDataGModel::importLists(int N[
 
 #if defined(HAVE_MED)
 
-#include <med.h>
+#include <med/med.h>
 
 #if (MED_MAJOR_NUM == 3)
 // To avoid too many ifdefs below we use defines for the bits of the