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 <[email protected]>
  • Loading branch information
WinterMute and GaryOderNichts committed Jan 21, 2024
1 parent d2a32de commit 14251be
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 @@ -2939,7 +2939,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 14251be

Please sign in to comment.