Skip to content

Commit

Permalink
Reset SDL2_image_FOUND instead of SDL3_image_FOUND
Browse files Browse the repository at this point in the history
Fixes #483

(cherry picked from commit 251cdd8)
  • Loading branch information
slouken committed Dec 3, 2024
1 parent 8f7bb7c commit bed023e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDL2_imageConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bed023e

Please sign in to comment.