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.
This commit is contained in:
Pierre Wendling
2024-10-13 09:11:30 +02:00
committed by Sam Lantinga
parent 23d456e146
commit 378234437f

View File

@@ -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)