Skip to content

Commit

Permalink
Activate GNU extensions in case of MSYS generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Kravlalala authored and Ilia Kravchuk committed Dec 13, 2019
1 parent 78fdd6c commit 20b8e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 20b8e7a

Please # to comment.