rabitΒΆ

hunter_add_package(rabit)
find_package(rabit CONFIG REQUIRED)

add_executable(foo foo.cpp)
target_link_libraries(foo PUBLIC rabit::rabit)