mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-05 16:00:15 +02:00
Mingw build: static link, posix g++, SDL2 list order.
This commit is contained in:
parent
ac289c7f48
commit
69027eca53
3 changed files with 10 additions and 4 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue