Commit 1e96e017 authored by Victor Zverovich's avatar Victor Zverovich

Fix compiler flag check (#2540)

parent 7e4bc945
...@@ -244,7 +244,7 @@ if (HAVE_STRTOD_L) ...@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment