mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
clean-up
This commit is contained in:
parent
74eac12c11
commit
fae022c848
3 changed files with 42 additions and 17 deletions
|
|
@ -14,8 +14,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
|||
set(OPTIONS ${OPTIONS} /permissive-)
|
||||
endif()
|
||||
|
||||
set(HAS_CPP11_FLAG TRUE)
|
||||
check_cxx_compiler_flag(/std:c++14 HAS_CPP14_FLAG)
|
||||
check_cxx_compiler_flag(/std:c++17 HAS_CPP17_FLAG)
|
||||
check_cxx_compiler_flag(/std:c++20 HAS_CPP20_FLAG)
|
||||
check_cxx_compiler_flag(/std:c++latest HAS_CPPLATEST_FLAG)
|
||||
|
|
@ -23,8 +21,6 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
|
|||
set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
set(OPTIONS -Wall -Wextra -pedantic-errors)
|
||||
|
||||
check_cxx_compiler_flag(-std=c++11 HAS_CPP11_FLAG)
|
||||
check_cxx_compiler_flag(-std=c++14 HAS_CPP14_FLAG)
|
||||
check_cxx_compiler_flag(-std=c++17 HAS_CPP17_FLAG)
|
||||
check_cxx_compiler_flag(-std=c++20 HAS_CPP20_FLAG)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue