Fix CGAL_Qt5 in non-header-only

This commit is contained in:
Laurent Rineau 2019-10-14 11:24:13 +02:00
parent 9c67734dcc
commit 24a099afc6
2 changed files with 1 additions and 2 deletions

View File

@ -43,9 +43,7 @@ namespace Qt {
class CGAL_QT_EXPORT GraphicsItem : public QObject, public QGraphicsItem {
Q_OBJECT
#ifdef CGAL_HEADER_ONLY
Q_INTERFACES(QGraphicsItem)
#endif
public Q_SLOTS:

View File

@ -16,6 +16,7 @@ if(NOT CGAL_HEADER_ONLY)
${CGAL_GRAPHICSVIEW_PACKAGE_DIR}/include/CGAL/Qt/manipulatedFrame.h
${CGAL_GRAPHICSVIEW_PACKAGE_DIR}/include/CGAL/Qt/qglviewer.h
${CGAL_GRAPHICSVIEW_PACKAGE_DIR}/include/CGAL/Qt/image_interface.h
TARGET CGAL_Qt5
)
endif()#CGAL_HEADER_ONLY