Skip to content

Commit

Permalink
CMake:
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilos authored Jan 14, 2025
1 parent a1b65bb commit 6efa9fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/compilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ if (NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS ON)
if (CYGWIN) # Cygwin and MSYS
set(CMAKE_CXX_EXTENSIONS ON)
endif()

if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CYGWIN
if (${CMAKE_CXX_COMPILER_ID} STREQUAL GNU)
Expand Down

0 comments on commit 6efa9fb

Please sign in to comment.