summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build8
-rw-r--r--src/libcamera/meson.build8
2 files changed, 8 insertions, 8 deletions
diff --git a/meson.build b/meson.build
index 4d7d936f..6eed0d8c 100644
--- a/meson.build
+++ b/meson.build
@@ -164,14 +164,6 @@ run_command('ln', '-fsT', meson.source_root(), meson.build_root() / 'source')
configure_file(output : 'config.h', configuration : config_h)
-pkg_mod = import('pkgconfig')
-pkg_mod.generate(libraries : libcamera,
- version : '1.0',
- name : 'libcamera',
- filebase : 'camera',
- description : 'Complex Camera Support Library',
- subdirs : 'libcamera')
-
# Check for python installation and modules.
py_mod = import('python')
py_mod.find_installation('python3', modules: py_modules)
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index d9b5bfae..e4c60e73 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -156,4 +156,12 @@ libcamera_dep = declare_dependency(sources : [
include_directories : libcamera_includes,
link_with : libcamera)
+pkg_mod = import('pkgconfig')
+pkg_mod.generate(libraries: libcamera,
+ version : '1.0',
+ name : 'libcamera',
+ filebase : 'camera',
+ description : 'Complex Camera Support Library',
+ subdirs : 'libcamera')
+
subdir('proxy/worker')