From 81b8878186eaace15ed8c21ccc537962ac2bd22c Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 9 Oct 2021 06:05:05 -0700 Subject: [PATCH] Fix compiler flag check (#2540) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d43f6f8e991..e4a48b0d792d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()