Skip to content

Commit

Permalink
Fix compiler flag check (fmtlib#2540)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut authored and Iniesta8 committed Oct 28, 2021
1 parent f9a8b08 commit 81b8878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ if (HAVE_STRTOD_L)
endif ()

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})
target_compile_options(fmt PUBLIC "-Wa,-mbig-obj")
endif()
Expand Down

0 comments on commit 81b8878

Please sign in to comment.