C++17 required

This commit is contained in:
Martin Brodbeck 2018-07-06 10:53:13 +02:00
parent f3c0ad6f4a
commit cf4c0d3ced

View file

@ -1,7 +1,10 @@
cmake_minimum_required(VERSION 3.5) cmake_minimum_required(VERSION 3.8)
project(KIMA2) project(KIMA2)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if(MSVC) if(MSVC)
add_compile_options(/W4 /WX) add_compile_options(/W4 /WX)
else() else()