diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index b5d7e2b..c928170 100644 --- a/meson.build +++ b/meson.build @@ -1,11 +1,12 @@ # SPDX-License-Identifier: CC0-1.0 -project('uvc-gadget', 'c', +project('uvc-gadget', 'c', 'cpp', meson_version : '>= 0.56', version : '0.2.0', default_options : [ 'werror=true', 'warning_level=2', + 'cpp_std=c++17', ], license : 'LGPL 2.1+') @@ -52,6 +53,8 @@ summary({ 'Sources': uvc_gadget_git_version, }, section : 'Versions') # Configure the build environment. cc = meson.get_compiler('c') +libcamera = dependency('libcamera', required : false) + subdir('include') subdir('lib') |