mirror of https://github.com/CGAL/cgal
Fix when CGAL_Qt5 is not available
This commit is contained in:
parent
ac557caa4a
commit
13bd01d38c
|
|
@ -70,7 +70,9 @@ function(create_single_source_cgal_program firstfile )
|
|||
|
||||
target_link_libraries(${exe_name} PRIVATE CGAL::CGAL)
|
||||
foreach(comp ${CGAL_REQUESTED_COMPONENTS})
|
||||
if(TARGET CGAL::CGAL_${comp})
|
||||
target_link_libraries(${exe_name} PRIVATE CGAL::CGAL_${comp})
|
||||
endif()
|
||||
endforeach()
|
||||
if(CGAL_3RD_PARTY_LIBRARIES)
|
||||
target_link_libraries(${exe_name} PRIVATE ${CGAL_3RD_PARTY_LIBRARIES})
|
||||
|
|
|
|||
Loading…
Reference in New Issue