File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,11 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU"
5454 # Users may override the c++ standard:
5555 if (NOT DEFINED CMAKE_CXX_STANDARD OR "${CMAKE_CXX_STANDARD} " STREQUAL "" )
5656 if (ENABLE_XTL_COMPLEX)
57- CHECK_CXX_COMPILER_FLAG("-std=c++14" HAS_CPP14_FLAG )
58- if (NOT HAS_CPP14_FLAG )
59- message (FATAL_ERROR "Unsupported compiler -- xsimd requires C++14 support when xtl complex support is enabled" )
57+ CHECK_CXX_COMPILER_FLAG("-std=c++17" HAS_CPP17_FLAG )
58+ if (NOT HAS_CPP17_FLAG )
59+ message (FATAL_ERROR "Unsupported compiler -- xsimd requires C++17 support when xtl complex support is enabled" )
6060 endif ()
61- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 " )
61+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 " )
6262 else ()
6363 CHECK_CXX_COMPILER_FLAG("-std=c++11" HAS_CPP11_FLAG)
6464 if (NOT HAS_CPP11_FLAG)
You can’t perform that action at this time.
0 commit comments