Add comments

This commit is contained in:
Clement Jamin 2016-09-09 13:11:54 +02:00 committed by Laurent Rineau
parent b9909ddfb5
commit dfb24b5340
2 changed files with 4 additions and 0 deletions

View File

@ -131,6 +131,8 @@ macro(check_cgal_component COMPONENT)
else( "${CGAL_LIB}" STREQUAL "CGAL" )
if ( WITH_${CGAL_LIB} )
if(TARGET CGAL::${CGAL_LIB})
# In header-only, if CGAL_Qt5 is requested, we need to add the
# dependencies here since there is no CGAL_Qt5 lib
if (CGAL_HEADER_ONLY AND "${CGAL_LIB}" STREQUAL "CGAL_Qt5")
include("${CGAL_MODULES_DIR}/CGAL_SetupCGAL_Qt5Dependencies.cmake")

View File

@ -92,6 +92,8 @@ macro(check_cgal_component COMPONENT)
if ( WITH_${CGAL_LIB} )
if(TARGET CGAL::${CGAL_LIB})
# In header-only, if CGAL_Qt5 is requested, we need to add the
# dependencies here since there is no CGAL_Qt5 lib
if (CGAL_HEADER_ONLY AND "${CGAL_LIB}" STREQUAL "CGAL_Qt5")
include("${CGAL_MODULES_DIR}/CGAL_SetupCGAL_Qt5Dependencies.cmake")