mirror of https://github.com/CGAL/cgal
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:
parent
5e63242ee9
commit
bc735b44a0
|
|
@ -36,7 +36,9 @@ endif()
|
||||||
if(NOT Qt5_FOUND)
|
if(NOT Qt5_FOUND)
|
||||||
set(CGAL_Qt5_MISSING_DEPS "${CGAL_Qt5_MISSING_DEPS} Qt5")
|
set(CGAL_Qt5_MISSING_DEPS "${CGAL_Qt5_MISSING_DEPS} Qt5")
|
||||||
endif()
|
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:
|
#.rst:
|
||||||
# Result Variables
|
# Result Variables
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue