summaryrefslogtreecommitdiff
path: root/kms++
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-04-11 09:48:01 +0300
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2023-04-11 09:50:49 +0300
commitd2a5d870b3f92b26de590af7f94a48500496e31f (patch)
tree640b86ad643d83876a0d0cb3680310cb15617985 /kms++
parent3c9e134287362f3273ff04a86f32838b65b2651e (diff)
meson: Fix use of omapdrm_enabled
omapdrm_enabled is set in totally wrong place, leading to build failure if pykms is disabled. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Fixes: 3c9e134287362f3273ff04a86f32838b65b2651e Fixes: #70
Diffstat (limited to 'kms++')
-rw-r--r--kms++/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/kms++/meson.build b/kms++/meson.build
index ab11d63..cd7a494 100644
--- a/kms++/meson.build
+++ b/kms++/meson.build
@@ -63,6 +63,9 @@ if libdrmomap_dep.found()
'src/omap/omapcard.cpp',
'src/omap/omapframebuffer.cpp',
])
+ omapdrm_enabled = true
+else
+ omapdrm_enabled = false
endif
libkmsxx_deps = [ libdrm_dep, libfmt_dep, libdrmomap_dep ]