diff --git a/src/ipa/raspberrypi/meson.build b/src/ipa/raspberrypi/meson.build
index 9445cd097df5..b284378c9621 100644
--- a/src/ipa/raspberrypi/meson.build
+++ b/src/ipa/raspberrypi/meson.build
@@ -2,9 +2,11 @@
 
 ipa_name = 'ipa_rpi'
 
+boost = dependency('boost', required : false)
+
 rpi_ipa_deps = [
     libcamera_dep,
-    dependency('boost'),
+    boost,
     libatomic,
 ]
 
@@ -41,22 +43,26 @@ rpi_ipa_sources = files([
     'controller/pwl.cpp',
 ])
 
-mod = shared_module(ipa_name,
-                    rpi_ipa_sources,
-                    name_prefix : '',
-                    include_directories : rpi_ipa_includes,
-                    dependencies : rpi_ipa_deps,
-                    link_with : libipa,
-                    install : true,
-                    install_dir : ipa_install_dir)
-
-if ipa_sign_module
-    custom_target(ipa_name + '.so.sign',
-                  input : mod,
-                  output : ipa_name + '.so.sign',
-                  command : [ ipa_sign, ipa_priv_key, '@INPUT@', '@OUTPUT@' ],
-                  install : false,
-                  build_by_default : true)
+if boost.found()
+    mod = shared_module(ipa_name,
+                        rpi_ipa_sources,
+                        name_prefix : '',
+                        include_directories : rpi_ipa_includes,
+                        dependencies : rpi_ipa_deps,
+                        link_with : libipa,
+                        install : true,
+                        install_dir : ipa_install_dir)
+
+    if ipa_sign_module
+        custom_target(ipa_name + '.so.sign',
+                      input : mod,
+                      output : ipa_name + '.so.sign',
+                      command : [ ipa_sign, ipa_priv_key, '@INPUT@', '@OUTPUT@' ],
+                      install : false,
+                      build_by_default : true)
+    endif
+else
+    warning('The Raspberry Pi pipeline is enabled, but dependency "boost" was not found')
 endif
 
 subdir('data')
