From 80403ef0e7be906fda3c8f901e6f16e07d4b1fca Mon Sep 17 00:00:00 2001 From: Pierre Wendling Date: Sun, 13 Oct 2024 09:11:30 +0200 Subject: [PATCH] VisualC: Set the correct component to false. When SDL2_main would not be found, it would incorrectly flag the shared SDL2 library as not found. --- VisualC/pkg-support/cmake/sdl2-config.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VisualC/pkg-support/cmake/sdl2-config.cmake b/VisualC/pkg-support/cmake/sdl2-config.cmake index 411b78a5152d0..bb284b8f96708 100644 --- a/VisualC/pkg-support/cmake/sdl2-config.cmake +++ b/VisualC/pkg-support/cmake/sdl2-config.cmake @@ -94,7 +94,7 @@ if(EXISTS "${_sdl2main_library}") endif() set(SDL2_SDL2main_FOUND TRUE) else() - set(SDL2_SDL2_FOUND FALSE) + set(SDL2_SDL2main_FOUND FALSE) endif() unset(_sdl2main_library)