diff --git a/CMakeLists.txt b/CMakeLists.txt index c3f1bfd..1999449 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,9 @@ cmake_minimum_required(VERSION 3.12) project(backprop) +# use c++17 +set(CMAKE_CXX_STANDARD 17) + # debug build by default if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Debug)