From 24a099afc6b0d19e38cc0e893cca1f204ee66a24 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Mon, 14 Oct 2019 11:24:13 +0200 Subject: [PATCH] Fix CGAL_Qt5 in non-header-only --- GraphicsView/include/CGAL/Qt/GraphicsItem.h | 2 -- .../cmake/modules/CGAL_Qt5_moc_and_resource_files.cmake | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/GraphicsView/include/CGAL/Qt/GraphicsItem.h b/GraphicsView/include/CGAL/Qt/GraphicsItem.h index 7c24add2bef..939831ce432 100644 --- a/GraphicsView/include/CGAL/Qt/GraphicsItem.h +++ b/GraphicsView/include/CGAL/Qt/GraphicsItem.h @@ -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: diff --git a/Installation/cmake/modules/CGAL_Qt5_moc_and_resource_files.cmake b/Installation/cmake/modules/CGAL_Qt5_moc_and_resource_files.cmake index 63609720936..5fdeda1517b 100644 --- a/Installation/cmake/modules/CGAL_Qt5_moc_and_resource_files.cmake +++ b/Installation/cmake/modules/CGAL_Qt5_moc_and_resource_files.cmake @@ -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