hunter_add_package(jo_jpeg) find_package(jo_jpeg CONFIG REQUIRED) target_link_libraries(foo jo_jpeg::jo_jpeg)