Skip to content

Commit

Permalink
ogc: don't add SDL2main to EXTRA_LIBS (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com>
  • Loading branch information
WinterMute and GaryOderNichts authored Jan 21, 2024
1 parent 181b701 commit 5757078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2937,7 +2937,7 @@ elseif(OGC)
endif()

if(NOT SDL2_DISABLE_SDL2MAIN)
list(APPEND EXTRA_LIBS "SDL2main")
list(INSERT SDL_LIBS 0 "-lSDL2main")
list(APPEND EXTRA_LIBS "fat")
endif()
endif()
Expand Down

0 comments on commit 5757078

Please sign in to comment.