[libcamera-devel,4/4] meson: Update to C++17

Message ID 20200923164412.319079-5-kieran.bingham@ideasonboard.com
State Superseded
Delegated to: Kieran Bingham
Headers show
Series
  • simple-cam: Update to latest API usage
Related show

Commit Message

Kieran Bingham Sept. 23, 2020, 4:44 p.m. UTC
libcamera has moved to using functionality from C++17.
Increase the standard used.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meson.build b/meson.build
index 6ca80ea7f29b..c312f2c99dc5 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@  project('simple-cam', 'c', 'cpp',
 	default_options : [
 		'werror=true',
 		'warning_level=2',
-		'cpp_std=c++14',
+		'cpp_std=c++17',
 	])
 
 # simple-cam.cpp is the fully commented application