Disable the Mingw C runtime by default
Mingw seems to have a bad pow implementation in the C runtime: 'Pow(-72.300000,12.000000), expected [20401381050275984310272.000000], got 20401381050275996893184.000000': Failedmain
parent
5e70ee29cc
commit
1f177be1e4
|
@ -154,6 +154,9 @@ endif()
|
||||||
set(SDL_LIBC_DEFAULT ON)
|
set(SDL_LIBC_DEFAULT ON)
|
||||||
set(SDL_SYSTEM_ICONV_DEFAULT ON)
|
set(SDL_SYSTEM_ICONV_DEFAULT ON)
|
||||||
if(WINDOWS)
|
if(WINDOWS)
|
||||||
|
if(MINGW)
|
||||||
|
set(SDL_LIBC_DEFAULT OFF)
|
||||||
|
endif()
|
||||||
set(SDL_SYSTEM_ICONV_DEFAULT OFF)
|
set(SDL_SYSTEM_ICONV_DEFAULT OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue