Skip to content

Commit

Permalink
support MINGW (#3022)
Browse files Browse the repository at this point in the history
Under Windows 10, compiling with MINGW64 will report an error similar to #1581
  • Loading branch information
NU-LL authored and gabime committed Mar 16, 2024
1 parent dd8dc81 commit 167bf98
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 @@ -37,7 +37,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_CXX_EXTENSIONS OFF)

if(CMAKE_SYSTEM_NAME MATCHES "CYGWIN" OR CMAKE_SYSTEM_NAME MATCHES "MSYS")
if(CMAKE_SYSTEM_NAME MATCHES "CYGWIN" OR CMAKE_SYSTEM_NAME MATCHES "MSYS" OR CMAKE_SYSTEM_NAME MATCHES "MINGW")
set(CMAKE_CXX_EXTENSIONS ON)
endif()

Expand Down

0 comments on commit 167bf98

Please sign in to comment.