[libcamera-devel] cam: Fix indentation in meson.build
diff mbox series

Message ID 20220324160351.2731-1-laurent.pinchart@ideasonboard.com
State Accepted
Commit bf5b3af88f555fcae4d9dba1ea7725c37fb290d0
Headers show
Series
  • [libcamera-devel] cam: Fix indentation in meson.build
Related show

Commit Message

Laurent Pinchart March 24, 2022, 4:03 p.m. UTC
One if...endif block is incorrectly indented. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 src/cam/meson.build | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Kieran Bingham March 24, 2022, 4:44 p.m. UTC | #1
Quoting Laurent Pinchart via libcamera-devel (2022-03-24 16:03:51)
> One if...endif block is incorrectly indented. Fix it.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>


Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> ---
>  src/cam/meson.build | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/src/cam/meson.build b/src/cam/meson.build
> index e8e2ae57d3f4..5bab8c9e331b 100644
> --- a/src/cam/meson.build
> +++ b/src/cam/meson.build
> @@ -25,11 +25,11 @@ cam_cpp_args = []
>  libdrm = dependency('libdrm', required : false)
>  
>  if libdrm.found()
> -cam_cpp_args += [ '-DHAVE_KMS' ]
> -cam_sources += files([
> -    'drm.cpp',
> -    'kms_sink.cpp'
> -])
> +    cam_cpp_args += [ '-DHAVE_KMS' ]
> +    cam_sources += files([
> +        'drm.cpp',
> +        'kms_sink.cpp'
> +    ])
>  endif
>  
>  cam  = executable('cam', cam_sources,
> -- 
> Regards,
> 
> Laurent Pinchart
>
Nicolas Dufresne via libcamera-devel March 25, 2022, 5:12 a.m. UTC | #2
Hi Laurent,

On Thu, Mar 24, 2022 at 06:03:51PM +0200, Laurent Pinchart via libcamera-devel wrote:
> One if...endif block is incorrectly indented. Fix it.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>

> ---
>  src/cam/meson.build | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/src/cam/meson.build b/src/cam/meson.build
> index e8e2ae57d3f4..5bab8c9e331b 100644
> --- a/src/cam/meson.build
> +++ b/src/cam/meson.build
> @@ -25,11 +25,11 @@ cam_cpp_args = []
>  libdrm = dependency('libdrm', required : false)
>  
>  if libdrm.found()
> -cam_cpp_args += [ '-DHAVE_KMS' ]
> -cam_sources += files([
> -    'drm.cpp',
> -    'kms_sink.cpp'
> -])
> +    cam_cpp_args += [ '-DHAVE_KMS' ]
> +    cam_sources += files([
> +        'drm.cpp',
> +        'kms_sink.cpp'
> +    ])
>  endif
>  
>  cam  = executable('cam', cam_sources,
> -- 
> Regards,
> 
> Laurent Pinchart
>

Patch
diff mbox series

diff --git a/src/cam/meson.build b/src/cam/meson.build
index e8e2ae57d3f4..5bab8c9e331b 100644
--- a/src/cam/meson.build
+++ b/src/cam/meson.build
@@ -25,11 +25,11 @@  cam_cpp_args = []
 libdrm = dependency('libdrm', required : false)
 
 if libdrm.found()
-cam_cpp_args += [ '-DHAVE_KMS' ]
-cam_sources += files([
-    'drm.cpp',
-    'kms_sink.cpp'
-])
+    cam_cpp_args += [ '-DHAVE_KMS' ]
+    cam_sources += files([
+        'drm.cpp',
+        'kms_sink.cpp'
+    ])
 endif
 
 cam  = executable('cam', cam_sources,