diff --git a/SDL2_imageConfig.cmake.in b/SDL2_imageConfig.cmake.in index c59e8449..7c7efab5 100644 --- a/SDL2_imageConfig.cmake.in +++ b/SDL2_imageConfig.cmake.in @@ -50,7 +50,7 @@ if(SDL2IMAGE_AVIF AND NOT SDL2IMAGE_VENDORED AND NOT TARGET avif) find_package(libavif @LIBAVIF_MINIMUM_VERSION@ QUIET) endif() if(NOT libavif_FOUND) - set(SDL3_image_FOUND FALSE) + set(SDL2_image_FOUND FALSE) return() endif() endif()