mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-26 03:35:22 +00:00
Fix compiler flag check (#2540)
This commit is contained in:
parent
7e4bc94510
commit
1e96e01766
@ -244,7 +244,7 @@ if (HAVE_STRTOD_L)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (MINGW)
|
if (MINGW)
|
||||||
check_cxx_compiler_flag("Wa,-mbig-obj" FMT_HAS_MBIG_OBJ)
|
check_cxx_compiler_flag("-Wa,-mbig-obj" FMT_HAS_MBIG_OBJ)
|
||||||
if (${FMT_HAS_MBIG_OBJ})
|
if (${FMT_HAS_MBIG_OBJ})
|
||||||
target_compile_options(fmt PUBLIC "-Wa,-mbig-obj")
|
target_compile_options(fmt PUBLIC "-Wa,-mbig-obj")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user