Skip to content

Commit 1842745

Browse files
FtZPetruskaslouken
authored andcommitted
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. (cherry picked from commit 3782344)
1 parent bbcc942 commit 1842745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VisualC/pkg-support/cmake/sdl2-config.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ if(EXISTS "${_sdl2main_library}")
9494
endif()
9595
set(SDL2_SDL2main_FOUND TRUE)
9696
else()
97-
set(SDL2_SDL2_FOUND FALSE)
97+
set(SDL2_SDL2main_FOUND FALSE)
9898
endif()
9999
unset(_sdl2main_library)
100100

0 commit comments

Comments
 (0)