summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcamera/base/meson.build1
-rw-r--r--src/libcamera/meson.build3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libcamera/base/meson.build b/src/libcamera/base/meson.build
index d799c66d..8e125744 100644
--- a/src/libcamera/base/meson.build
+++ b/src/libcamera/base/meson.build
@@ -20,6 +20,7 @@ libcamera_base_sources = files([
libcamera_base_deps = [
dependency('threads'),
+ libatomic,
]
# Internal components must use the libcamera_base_private dependency to enable
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index e9230b98..bf82d38b 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -54,12 +54,13 @@ includes = [
libcamera_includes,
]
+libatomic = cc.find_library('atomic', required : false)
+
subdir('base')
subdir('ipa')
subdir('pipeline')
subdir('proxy')
-libatomic = cc.find_library('atomic', required : false)
libdl = cc.find_library('dl')
libgnutls = cc.find_library('gnutls', required : true)
libudev = dependency('libudev', required : false)