forked from fmtlib/fmt
Added check for -mbig-obj
and ref qualifier check (#1929)
* Added check whether mingw has -mbig-obj flag * Removed ref qualifiers
This commit is contained in:
@@ -199,7 +199,10 @@ if (HAVE_STRTOD_L)
|
||||
endif ()
|
||||
|
||||
if (MINGW)
|
||||
target_compile_options(fmt PUBLIC "-Wa,-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()
|
||||
endif ()
|
||||
|
||||
if (FMT_WERROR)
|
||||
|
Reference in New Issue
Block a user