From 81da25d3693eba88f84eb964be624a31d36fc335 Mon Sep 17 00:00:00 2001 From: Ramin Raeisi Date: Tue, 10 Jun 2025 09:14:35 +0200 Subject: [PATCH] Change CXX STANDARD to 11 since clang16 or earlier needs it --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1257511..995d656 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,8 @@ cmake_minimum_required (VERSION 3.5) +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + option(EXAMPLES "Build examples and tiny_loopback" OFF) option(UNITTEST "Build unit tests" OFF) option(CUSTOM "Do not use built-in HAL, but use Custom instead" OFF)