Commit 20b8e7a1 authored by Ilya Kravchuk's avatar Ilya Kravchuk Committed by Ilia Kravchuk
Browse files

Activate GNU extensions in case of MSYS generator

parent 78fdd6c0
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment