Activate GNU extensions in case of MSYS generator
This commit is contained in:
parent
78fdd6c00b
commit
20b8e7a1c8
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user