summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build12
1 files changed, 6 insertions, 6 deletions
diff --git a/meson.build b/meson.build
index 62db8ed8..29777529 100644
--- a/meson.build
+++ b/meson.build
@@ -20,7 +20,7 @@ project('libcamera', 'c', 'cpp',
libcamera_git_version = run_command('utils/gen-version.sh',
meson.project_build_root(),
meson.project_source_root(),
- check: false).stdout().strip()
+ check : false).stdout().strip()
# If the source tree isn't under git control, set libcamera_git_version to the
# meson project version.
@@ -49,7 +49,7 @@ if libcamera_version != project_version
meson.project_build_root(),
meson.project_source_root(),
project_version,
- check: false).stdout().strip()
+ check : false).stdout().strip()
libcamera_version = project_version
# Append a marker to show we have modified this version string.
@@ -109,7 +109,7 @@ if cc.get_id() == 'clang'
# Use libc++ by default if available instead of libstdc++ when compiling
# with clang.
- if cc.find_library('libc++', required: false).found()
+ if cc.find_library('libc++', required : false).found()
cpp_arguments += [
'-stdlib=libc++',
]
@@ -236,7 +236,7 @@ subdir('test')
if not meson.is_cross_build()
kernel_version_req = '>= 5.0.0'
- kernel_version = run_command('uname', '-r', check: true).stdout().strip()
+ kernel_version = run_command('uname', '-r', check : true).stdout().strip()
if not kernel_version.version_compare(kernel_version_req)
warning('The current running kernel version @0@ is too old to run libcamera.'
.format(kernel_version))
@@ -249,13 +249,13 @@ endif
# running libcamera from the build directory to locate resources in the source
# directory (such as IPA configuration files).
run_command('ln', '-fsT', meson.project_source_root(), meson.project_build_root() / 'source',
- check: true)
+ check : true)
configure_file(output : 'config.h', configuration : config_h)
# Check for python installation and modules.
py_mod = import('python')
-py_mod.find_installation('python3', modules: py_modules)
+py_mod.find_installation('python3', modules : py_modules)
## Summarise Configurations
summary({