Commit a1b42c96 authored by gabime's avatar gabime

Updated min c++ version to 14

parent 16b20a4c
......@@ -26,9 +26,11 @@ endif()
# Compiler config
# ---------------------------------------------------------------------------------------
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
elseif(CMAKE_CXX_STANDARD LESS 14)
message(FATAL_ERROR "CMAKE_CXX_STANDARD should be 14 or higer")
endif()
# make sure __cplusplus is defined when using msvc and enable parallel build
if(MSVC)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment