summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-02-24 16:02:47 +0200
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-02-24 18:10:42 +0200
commit3c9e134287362f3273ff04a86f32838b65b2651e (patch)
treef198264a97b09d8fae79b0b695991c28cd6105a9 /py
parentdb5e57cdba31439ab2ae0e85c0ffc0c200ac3082 (diff)
meson: Add summary
Add summary print for meson configuration. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'py')
-rw-r--r--py/pykms/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/py/pykms/meson.build b/py/pykms/meson.build
index db5cbd0..9fb5208 100644
--- a/py/pykms/meson.build
+++ b/py/pykms/meson.build
@@ -1,6 +1,7 @@
py3_dep = dependency('python3', required : get_option('pykms'))
if py3_dep.found() == false
+ pybindings_enabled = false
subdir_done()
endif
@@ -8,9 +9,12 @@ pybind11_dep = dependency('pybind11', fallback : ['pybind11', 'pybind11_dep'],
required : get_option('pykms'))
if pybind11_dep.found() == false
+ pybindings_enabled = false
subdir_done()
endif
+pybindings_enabled = true
+
pykms_sources = files([
'pykmsbase.cpp',
'pykms.cpp',
@@ -26,6 +30,9 @@ if libdrmomap_dep.found()
pykms_sources += files([
'pykmsomap.cpp',
])
+ omapdrm_enabled = true
+else
+ omapdrm_enabled = false
endif
pykms_deps = [