From 50c81fbe63fc446dd18d87763afa9b36842c64ec Mon Sep 17 00:00:00 2001
From: Eric Bechet <eric.bechet@ulg.ac.be>
Date: Wed, 20 Jan 2016 13:14:27 +0000
Subject: [PATCH] fix compilation when ENABLE_MESH=OFF

---
 Plugin/ThinLayerFixMesh.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Plugin/ThinLayerFixMesh.cpp b/Plugin/ThinLayerFixMesh.cpp
index 166e47156c..edb565a5ce 100644
--- a/Plugin/ThinLayerFixMesh.cpp
+++ b/Plugin/ThinLayerFixMesh.cpp
@@ -13,10 +13,6 @@
 #include "meshGFaceDelaunayInsertion.h"
 #endif
 
-const double GMSH_ThinLayerFixMeshPlugin::epsilon = 0.00000000001;
-const double GMSH_ThinLayerFixMeshPlugin::angleMax = 0.9;
-const double GMSH_ThinLayerFixMeshPlugin::distP2PMax = 5.0;
-
 extern "C"
 {
   GMSH_Plugin *GMSH_RegisterThinLayerFixMeshPlugin()
@@ -43,6 +39,10 @@ StringXNumber *GMSH_ThinLayerFixMeshPlugin::getOption(int iopt)
 
 #if defined(HAVE_MESH)
 
+const double GMSH_ThinLayerFixMeshPlugin::epsilon = 0.00000000001;
+const double GMSH_ThinLayerFixMeshPlugin::angleMax = 0.9;
+const double GMSH_ThinLayerFixMeshPlugin::distP2PMax = 5.0;
+
 CorrespVerticesFixMesh::CorrespVerticesFixMesh(){
   //	std::cout<<"started init CorrespVerticesFixMesh"<<std::endl;
   //	this->EndTriangle = faceXtetFM();
-- 
GitLab