1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-10 23:44:29 +00:00
This commit is contained in:
neargye 2019-04-02 15:10:55 +05:00
parent f2c3bd8fe5
commit c74e53aabe
4 changed files with 14 additions and 6 deletions

View file

@ -13,7 +13,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
if(HAS_PERMISSIVE_FLAG)
set(OPTIONS ${OPTIONS} /permissive-)
endif()
set(OPTIONS ${OPTIONS} /wd4702) # Disable warning C4702: unreachable code
set(HAS_CPP11_FLAG TRUE)
check_cxx_compiler_flag(/std:c++14 HAS_CPP14_FLAG)