diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meson.build b/meson.build index c928170..8101676 100644 --- a/meson.build +++ b/meson.build @@ -55,6 +55,15 @@ cc = meson.get_compiler('c') libcamera = dependency('libcamera', required : false) +conf = configuration_data() + +if libcamera.found() + conf.set('HAVE_LIBCAMERA', true) +endif + +configure_file(output : 'config.h', configuration : conf) +config_includes = include_directories('.') + subdir('include') subdir('lib') |