force specific c++ version
my use std::filesystem requires at least C++17
This commit is contained in:
parent
ae66a0d641
commit
60aac542cd
@ -1,3 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.28)
|
||||
project(chksum)
|
||||
project(chksum VERSION 0.2)
|
||||
add_executable(chksum src/main.cpp src/fs_reader.cpp)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
Loading…
Reference in New Issue
Block a user