mirror of https://github.com/CGAL/cgal
Skip Three headers if QGLViewer is missing
This commit is contained in:
parent
685947ddec
commit
cf987b51ba
|
|
@ -1158,6 +1158,14 @@ You must disable CGAL_ENABLE_CHECK_HEADERS and CGAL_COMPUTE_DEPENDENCIES.")
|
||||||
set(skip_hdr TRUE)
|
set(skip_hdr TRUE)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
if(NOT QGLVIEWER_FOUND)
|
||||||
|
string(REGEX MATCH "CGAL/Three/.*" is_a_three_header ${header})
|
||||||
|
if(is_a_three_header)
|
||||||
|
message(STATUS "Skip LEDA header \"${header}\" because \
|
||||||
|
QGLVIEWER_FOUND_FOUND is false.")
|
||||||
|
set(skip_hdr TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
string(REGEX MATCH "CGAL/leda_.*" is_a_leda_header ${header})
|
string(REGEX MATCH "CGAL/leda_.*" is_a_leda_header ${header})
|
||||||
if(NOT LEDA_FOUND AND is_a_leda_header)
|
if(NOT LEDA_FOUND AND is_a_leda_header)
|
||||||
message(STATUS "Skip LEDA header \"${header}\" because \
|
message(STATUS "Skip LEDA header \"${header}\" because \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue