Skip to content

Commit a6781a4

Browse files
authored
Merge pull request #53 from ramin-raeisi/fix/cxx-standard-needed-for-clang16-or-less
Change CXX STANDARD to 11 since clang16 or earlier needs it
2 parents 90b1367 + 81da25d commit a6781a4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
cmake_minimum_required (VERSION 3.5)
22

3+
set(CMAKE_CXX_STANDARD 11)
4+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
5+
36
option(EXAMPLES "Build examples and tiny_loopback" OFF)
47
option(UNITTEST "Build unit tests" OFF)
58
option(CUSTOM "Do not use built-in HAL, but use Custom instead" OFF)

0 commit comments

Comments
 (0)