diff options
Diffstat (limited to 'meta-oe/recipes-support/avro/avro-c++/0003-Update-CXX-standard-to-CXX14.patch')
| -rw-r--r-- | meta-oe/recipes-support/avro/avro-c++/0003-Update-CXX-standard-to-CXX14.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/avro/avro-c++/0003-Update-CXX-standard-to-CXX14.patch b/meta-oe/recipes-support/avro/avro-c++/0003-Update-CXX-standard-to-CXX14.patch new file mode 100644 index 0000000000..449b0dfd66 --- /dev/null +++ b/meta-oe/recipes-support/avro/avro-c++/0003-Update-CXX-standard-to-CXX14.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From 640c51c61536913b3d43714bebe228b32f043144 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Rui Costa <rui.ms.costa@ctw.bmwgroup.com> | ||
| 3 | Date: Fri, 5 Apr 2024 11:33:51 +0000 | ||
| 4 | Subject: [PATCH 3/3] Update CXX standard to CXX14 | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [oe-specific] | ||
| 7 | --- | ||
| 8 | lang/c++/CMakeLists.txt | 2 +- | ||
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 10 | |||
| 11 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 12 | index 2e5a394cb..f29a532ef 100644 | ||
| 13 | --- a/CMakeLists.txt | ||
| 14 | +++ b/CMakeLists.txt | ||
| 15 | @@ -21,7 +21,7 @@ cmake_minimum_required (VERSION 3.1) | ||
| 16 | set (CMAKE_LEGACY_CYGWIN_WIN32 0) | ||
| 17 | |||
| 18 | if (NOT DEFINED CMAKE_CXX_STANDARD) | ||
| 19 | - set(CMAKE_CXX_STANDARD 11) | ||
| 20 | + set(CMAKE_CXX_STANDARD 14) | ||
| 21 | endif() | ||
| 22 | |||
| 23 | set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
| 24 | -- | ||
| 25 | 2.44.0 | ||
| 26 | |||
