Mingw build: static link, posix g++, SDL2 list order.
This commit is contained in:
1 parent
ac289c7f48
commit
69027eca53
3 files changed
+10
-4
No files matched your search
+2
-1
@@ -2,7 +2,8 @@ set(TOOLCHAIN_PREFIX "x86_64-w64-mingw32")
|
||||
|
||||
set(CMAKE_SYSTEM_NAME Windows)
|
||||
|
||||
set(CMAKE_CXX_COMPILER "${TOOLCHAIN_PREFIX}-g++")
|
||||
#posix for std::this_thread, might work with just g++
|
||||
set(CMAKE_CXX_COMPILER "${TOOLCHAIN_PREFIX}-g++-posix")
|
||||
set(CMAKE_C_COMPILER "${TOOLCHAIN_PREFIX}-gcc")
|
||||
set(CMAKE_OBJCOPY "${TOOLCHAIN_PREFIX}-objcopy")
|
||||
set(CMAKE_STRIP "${TOOLCHAIN_PREFIX}-strip")
|
||||
|
||||
Reference in new issue
Block a user