From 2b86dc4936e454b4017dc090ff9fee19f54a1f12 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Mon, 19 Sep 2022 16:12:24 +1000 Subject: Switch to a modernish C++ and cmake, add i2c stuff --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 36628a5b..7a9d3bbb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,8 @@ # https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.8) +set(CMAKE_CXX_STANDARD 17) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(gay-ipod-fw) -- cgit v1.2.3