hunter_add_package(intsizeof) find_package(intsizeof CONFIG REQUIRED) target_link_libraries(... PUBLIC intsizeof::intsizeof)