Skip to content

Commit

Permalink
fixed link error when build with gnu-like compiler (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeEntropy authored Dec 12, 2024
1 parent e6c1084 commit eefe235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3rdlibs/sdl2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ if (WIN32 AND NOT SDL2_FOUND)
set(sdl_include_dir ${sdl_dir}/include/SDL2)
set(sdl_static_lib_dir ${sdl_dir}/lib)
set(sdlmain_lib ${sdl_static_lib_dir}/libSDL2main.a)
set(sdl_lib ${sdl_static_lib_dir}/libSDL2main.a)
set(sdl_lib ${sdl_static_lib_dir}/libSDL2.dll.a)
set(sdl_dll ${sdl_dir}/bin/SDL2.dll)
set(sdl_otherlibs "-lmingw32 -lSDL2main -lSDL2")
else() # for MSVC compiler
Expand Down

0 comments on commit eefe235

Please sign in to comment.