mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 21:16:56 +00:00
MINGW cross compiler fixes
This commit is contained in:
parent
936a1833c2
commit
47ae521557
@ -192,6 +192,10 @@ if (HAVE_STRTOD_L)
|
|||||||
target_compile_definitions(fmt PUBLIC FMT_LOCALE)
|
target_compile_definitions(fmt PUBLIC FMT_LOCALE)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
if (MINGW)
|
||||||
|
target_compile_options(fmt PUBLIC "-Wa,-mbig-obj")
|
||||||
|
endif ()
|
||||||
|
|
||||||
if (FMT_WERROR)
|
if (FMT_WERROR)
|
||||||
target_compile_options(fmt PRIVATE ${WERROR_FLAG})
|
target_compile_options(fmt PRIVATE ${WERROR_FLAG})
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user