From 635ce5cd81c8fbe100100afadaece021bb645bb4 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Fri, 3 May 2019 14:33:32 +0200 Subject: [PATCH] Path: Add libarea to PCH --- src/Mod/Path/App/Area.cpp | 6 +++++- src/Mod/Path/App/PreCompiled.h | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index 116e73cd52..3ade06f771 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -92,7 +92,11 @@ #include #include #include "Area.h" -#include "../libarea/Area.h" + +#ifndef _PreComp_ +# include "../libarea/Area.h" +#endif + namespace bg = boost::geometry; namespace bgi = boost::geometry::index; diff --git a/src/Mod/Path/App/PreCompiled.h b/src/Mod/Path/App/PreCompiled.h index 045808934c..3d70c7294a 100644 --- a/src/Mod/Path/App/PreCompiled.h +++ b/src/Mod/Path/App/PreCompiled.h @@ -56,6 +56,9 @@ #include #include +// Libarea +#include "../libarea/Area.h" + // Python #include