From ba9e4d77de514016dc99cd9b14b96be9174908c5 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 26 Jul 2010 14:01:10 +0000
Subject: [PATCH] have post

---
 Common/LuaBindings.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Common/LuaBindings.cpp b/Common/LuaBindings.cpp
index a420ff099f..7a43a4572c 100644
--- a/Common/LuaBindings.cpp
+++ b/Common/LuaBindings.cpp
@@ -32,7 +32,6 @@
 #include "Options.h"
 #include "polynomialBasis.h"
 #include "Gauss.h"
-#include "PViewFactory.h"
 
 #if defined(HAVE_OPENGL)
 #include "drawContext.h"
@@ -46,6 +45,7 @@
 #if defined(HAVE_POST)
 #include "PView.h"
 #include "PViewData.h"
+#include "PViewFactory.h"
 #endif
 
 extern "C" {
@@ -417,7 +417,6 @@ binding::binding()
   linearSystem<double>::registerBindings(this);
   polynomialBasis::registerBindings(this);
   gaussIntegration::registerBindings(this);
-  PViewFactory::registerBindings(this);
 #if defined(HAVE_SOLVER)
   function::registerBindings(this);
   linearSystemCSRGmm<double>::registerBindings(this);
@@ -426,6 +425,7 @@ binding::binding()
 #if defined(HAVE_POST)
   PView::registerBindings(this);
   PViewData::registerBindings(this);
+  PViewFactory::registerBindings(this);
 #endif
 }
 
-- 
GitLab