function(CGAL_setup_target_dependencies target) if(ARGV1 STREQUAL INTERFACE) set(keyword INTERFACE) else() set(keyword PUBLIC) endif() if(${target} STREQUAL CGAL) CGAL_setup_CGAL_dependencies(${target} ${keyword}) elseif(${target} STREQUAL CGAL_Core) CGAL_setup_CGAL_Core_dependencies(${target} ${keyword}) elseif(${target} STREQUAL CGAL_ImageIO) CGAL_setup_CGAL_ImageIO_dependencies(${target} ${keyword}) elseif(${target} STREQUAL CGAL_Qt5) CGAL_setup_CGAL_Qt5_dependencies(${target} ${keyword}) endif() endfunction()