mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
switched to using idiomatic cmake set standard (#240)
This commit is contained in:
parent
427a47394f
commit
f40a621528
1 changed files with 1 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
include(CheckCXXCompilerFlag)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
if((CMAKE_CXX_COMPILER_ID MATCHES "GNU") OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
|
||||
set(OPTIONS -Wall -Wextra -pedantic-errors -Werror)
|
||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue