Patch so that Qt's MOC can parse our headers, with Boost-1.48

The patch is adapted from this bug report:

From: Mark Brand < mabrand@mabrand.nl>
To: cgal-discuss@lists-sop.inria.fr
Subject: [cgal-discuss] [PATCH] prevent Qt's moc from choking on BOOST_JOIN

See https://lists-sop.inria.fr/sympa/arc/cgal-discuss/2011-11/msg00087.html
This commit is contained in:
Laurent Rineau 2011-11-21 16:42:18 +00:00
parent b154f31f27
commit f5ec3f260c
2 changed files with 6 additions and 2 deletions

View File

@ -24,7 +24,9 @@
#include <CGAL/auto_link/Qt4.h>
#include <QObject>
#include <QGraphicsItem>
#ifndef Q_MOC_RUN
# include <CGAL/Object.h>
#endif

View File

@ -23,7 +23,9 @@
#include <CGAL/auto_link/Qt4.h>
#include <CGAL/Object.h>
#ifndef Q_MOC_RUN
# include <QObject>
#endif
namespace CGAL {
namespace Qt {