Skip to content

Commit

Permalink
chore: enable CMAKE_CXX_EXTENSIONS when building using MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbuechner committed Aug 5, 2023
1 parent 258b310 commit 184cb6f
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 @@ -30,7 +30,7 @@ if (MSVC)
string(APPEND CMAKE_CXX_FLAGS " /Zc:__cplusplus /MP")
endif ()

if (NOT CYGWIN AND NOT MSYS AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL QNX)
if (NOT CYGWIN AND NOT MSYS AND NOT MINGW AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL QNX)
set(CMAKE_CXX_EXTENSIONS OFF)
endif ()

Expand Down

0 comments on commit 184cb6f

Please sign in to comment.