diff options
author | Matthieu Longo <mateo.longo@gmail.com> | 2018-09-18 10:34:56 (GMT) |
---|---|---|
committer | Matthieu Longo <matthieu.longo@murex.com> | 2018-09-18 16:28:29 (GMT) |
commit | 0a18c106ac0a794b9d912d46b5de20634b14703b (patch) | |
tree | e3686e125e9ed2c0a4c82ecd730adba729f7c79d /googlemock/CMakeLists.txt | |
parent | bc2d0935b74917be0821bfd834472ed9cc4a3b5b (diff) | |
download | googletest-0a18c106ac0a794b9d912d46b5de20634b14703b.zip googletest-0a18c106ac0a794b9d912d46b5de20634b14703b.tar.gz googletest-0a18c106ac0a794b9d912d46b5de20634b14703b.tar.bz2 |
[msys] pass big object file option to assembler for target gmock-matchers_testrefs/pull/1844/head
Diffstat (limited to 'googlemock/CMakeLists.txt')
-rw-r--r-- | googlemock/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt index 8a8de1f..2a91308 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) |