mirror of https://github.com/CGAL/cgal
Don't check if CGAL_comp is found, it will be done later.
This commit is contained in:
parent
fab8c31662
commit
3ccd79eec6
|
|
@ -83,13 +83,10 @@ foreach(comp ${CGAL_FIND_COMPONENTS})
|
||||||
if(NOT comp MATCHES "Core|ImageIO|Qt5")
|
if(NOT comp MATCHES "Core|ImageIO|Qt5")
|
||||||
message(FATAL_ERROR "The requested CGAL component ${comp} does not exist!")
|
message(FATAL_ERROR "The requested CGAL component ${comp} does not exist!")
|
||||||
endif()
|
endif()
|
||||||
|
if(comp MATCHES "Core" AND CGAL_DISABLE_GMP)
|
||||||
if(CGAL_${comp}_FOUND)
|
message("CGAL_Core needs GMP and won't be used.")
|
||||||
if(comp MATCHES "Core" AND CGAL_DISABLE_GMP)
|
else()
|
||||||
message("CGAL_Core needs GMP and won't be used.")
|
list(APPEND CGAL_LIBRARIES CGAL_${comp})
|
||||||
else()
|
|
||||||
list(APPEND CGAL_LIBRARIES CGAL_${comp})
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue