Skip to content

Commit

Permalink
VisualC: Set the correct component to false.
Browse files Browse the repository at this point in the history
When SDL2_main would not be found, it would incorrectly flag the shared SDL2 library as not found.
  • Loading branch information
FtZPetruska committed Oct 13, 2024
1 parent 23d456e commit 80403ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VisualC/pkg-support/cmake/sdl2-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 80403ef

Please sign in to comment.