Commit 6f342f45 authored by Ömer Fadıl Usta's avatar Ömer Fadıl Usta 😊
Browse files

fix HAVE_DMA_BUF definition

parent acc70e4c
......@@ -100,7 +100,11 @@ set_package_properties(Epoxy PROPERTIES DESCRIPTION "libepoxy"
PURPOSE "Required for dma-buf support in pipewire screencast plugin."
)
set(HAVE_DMA_BUF ${EGL_FOUND} AND ${gbm_FOUND} AND ${Epoxy_FOUND})
if(EGL_FOUND AND gbm_FOUND AND Epoxy_FOUND)
set (HAVE_DMA_BUF TRUE)
else()
set (HAVE_DMA_BUF FALSE)
endif()
ecm_setup_version(PROJECT
VARIABLE_PREFIX KRFB
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment