C++17 required
This commit is contained in:
parent
f3c0ad6f4a
commit
cf4c0d3ced
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
|
||||
project(KIMA2)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
if(MSVC)
|
||||
add_compile_options(/W4 /WX)
|
||||
else()
|
||||
|
|
Loading…
Reference in a new issue