Check the presence of <CGAL/Qt/*.h> header

When CGAL is installed by package-managers, CGAL_Qt5 headers maybe
installed separately:
  - `libcgal-qt5-dev` on Debian,
  - `CGAL-qt5-devel` on Fedora, for example.
This commit is contained in:
Laurent Rineau 2019-10-31 13:49:22 +01:00
parent 5e63242ee9
commit bc735b44a0
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@ endif()
if(NOT Qt5_FOUND)
set(CGAL_Qt5_MISSING_DEPS "${CGAL_Qt5_MISSING_DEPS} Qt5")
endif()
if(NOT EXISTS ${CGAL_GRAPHICSVIEW_PACKAGE_DIR}/include/CGAL/Qt/GraphicsItem.h)
set(CGAL_Qt5_MISSING_DEPS "${CGAL_Qt5_MISSING_DEPS} <CGAL/Qt/*.h> headers")
endif()
#.rst:
# Result Variables