hunter_add_package(Comet) find_package(Comet CONFIG REQUIRED) target_link_libraries(... Comet::comet)