pipewire/spa/plugins/libcamera/meson.build
Barnabás Pőcze 390a4ce432 spa: libcamera: compile fully as C++
There was one file "libcamera.c" that was a C source file, which
prevents the addition of C++ functions, includes, etc. to "libcamera.h".
So compile that file as C++ as well.
2026-06-23 15:00:15 +00:00

13 lines
351 B
Meson

libcamera_sources = [
'libcamera.cpp',
'libcamera-manager.cpp',
'libcamera-device.cpp',
'libcamera-source.cpp'
]
libcameralib = shared_library('spa-libcamera',
libcamera_sources,
include_directories : [ configinc ],
dependencies : [ spa_dep, libcamera_dep, pthread_lib ],
install : true,
install_dir : spa_plugindir / 'libcamera')