Mingw build: static link, posix g++, SDL2 list order.

This commit is contained in:
Muzychenko Andrey
2021-10-07 16:47:07 +03:00
parent ac289c7f48
commit 69027eca53
3 changed files with 10 additions and 4 deletions

View File

@@ -152,7 +152,7 @@ IF(SDL2_LIBRARY_TEMP)
# In fact, there seems to be a problem if I used the Threads package
# and try using this line, so I'm just skipping it entirely for OS X.
IF(NOT APPLE)
SET(SDL2_LIBRARY_TEMP ${SDL2_LIBRARY_TEMP} ${CMAKE_THREAD_LIBS_INIT})
SET(SDL2_LIBRARY_TEMP ${CMAKE_THREAD_LIBS_INIT} ${SDL2_LIBRARY_TEMP})
ENDIF(NOT APPLE)
# For MinGW library