summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2019-09-13 15:14:16 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2019-09-13 15:14:16 +0300
commit3b2f2fb6a8d29efabeb511b9407c6f6762827abd (patch)
tree2b1de65b4429fd2f2a166d549e143fbaa8f27e9a /configure.ac
parentc2a805a5a631f01f2b6c0455228ed9388d0fd458 (diff)
downloadmetacity-3b2f2fb6a8d29efabeb511b9407c6f6762827abd.tar.gz
build: don't build Vulkan compositor if not enabled
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d786704c..17fcd1de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -361,6 +361,8 @@ AS_IF([test "x$enable_vulkan" != "xno"], [
])
], [found_vulkan=no])
+AM_CONDITIONAL([HAVE_VULKAN], [test "x$found_vulkan" = "xyes"])
+
dnl **************************************************************************
dnl Process .in files
dnl **************************************************************************