hunter_add_package(tinydir) find_package(tinydir CONFIG REQUIRED) target_link_libraries(... tinydir::tinydir)