hunter_add_package(SDL_mixer) find_package(SDL_mixer CONFIG REQUIRED) #... target_link_libraries(foo SDL_mixer::SDL_mixer)