From 0a18c106ac0a794b9d912d46b5de20634b14703b Mon Sep 17 00:00:00 2001 From: Matthieu Longo Date: Tue, 18 Sep 2018 12:34:56 +0200 Subject: [msys] pass big object file option to assembler for target gmock-matchers_test --- googlemock/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt index 8a8de1f6..2a913080 100644 --- a/googlemock/CMakeLists.txt +++ b/googlemock/CMakeLists.txt @@ -157,6 +157,9 @@ if (gmock_build_tests) cxx_test(gmock-generated-matchers_test gmock_main) cxx_test(gmock-internal-utils_test gmock_main) cxx_test(gmock-matchers_test gmock_main) + if (MINGW) + target_compile_options(gmock-matchers_test PRIVATE "-Wa,-mbig-obj") + endif() cxx_test(gmock-more-actions_test gmock_main) cxx_test(gmock-nice-strict_test gmock_main) cxx_test(gmock-port_test gmock_main) -- cgit v1.2.3