mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 09:05:06 +03:00
py: meson: Use libcamera_private dependency
We define -DLIBCAMERA_BASE_PRIVATE to get access to libcamera private headers, but the correct way to do this is to have a meson dependency to libcamera_private. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
36ea10a564
commit
418cbde04b
1 changed files with 1 additions and 2 deletions
|
@ -60,7 +60,7 @@ pycamera_sources += custom_target('py_gen_formats',
|
|||
command : [gen_py_formats, '-o', '@OUTPUT@', '@INPUT@'])
|
||||
|
||||
pycamera_deps = [
|
||||
libcamera_public,
|
||||
libcamera_private,
|
||||
py3_dep,
|
||||
pybind11_dep,
|
||||
]
|
||||
|
@ -69,7 +69,6 @@ pycamera_args = [
|
|||
'-fvisibility=hidden',
|
||||
'-Wno-shadow',
|
||||
'-DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT',
|
||||
'-DLIBCAMERA_BASE_PRIVATE',
|
||||
]
|
||||
|
||||
destdir = get_option('libdir') / ('python' + py3_dep.version()) / 'site-packages' / 'libcamera'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue