summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorIlya Kravchuk <kravlala.1@gmail.com>2019-12-13 09:54:37 (GMT)
committerIlia Kravchuk <Ilia.Kravchuk@t-systems.com>2019-12-13 10:47:04 (GMT)
commit20b8e7a1c8278c4270705e5648739148a22661d0 (patch)
treec2cd513226f3187931670720870044fbd4e7dac7 /CMakeLists.txt
parent78fdd6c00b8fa5dd67066fbb796affc87ba0e075 (diff)
downloadgoogletest-20b8e7a1c8278c4270705e5648739148a22661d0.zip
googletest-20b8e7a1c8278c4270705e5648739148a22661d0.tar.gz
googletest-20b8e7a1c8278c4270705e5648739148a22661d0.tar.bz2
Activate GNU extensions in case of MSYS generatorrefs/pull/2632/head
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f11bbb5..755b8b7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,7 @@ if (CMAKE_VERSION VERSION_LESS "3.1")
else()
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
- if(NOT CYGWIN)
+ if(NOT CYGWIN AND NOT MSYS)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()
endif()