diff --git a/meson.build b/meson.build
index 1e2bf9563515..e0aeefa30330 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,5 @@
 project('libcamera - supporting complex camera pipelines', 'c', 'cpp',
+  meson_version: '>= 0.40',
   version : '0.1',
   license : 'LGPL 2.1+')
 
