1
0
mirror of https://invent.kde.org/network/krfb synced 2024-07-01 07:24:29 +00:00

Fix typo on epoxy variablename revert ifdef back to if

This commit is contained in:
Ömer Fadıl Usta 2021-06-03 09:05:48 +00:00
parent 2e82546012
commit 8e667abe69
2 changed files with 3 additions and 3 deletions

View File

@ -94,13 +94,13 @@ set_package_properties(EGL PROPERTIES
)
find_package(epoxy)
set_package_properties(Epoxy PROPERTIES DESCRIPTION "libepoxy"
set_package_properties(epoxy PROPERTIES DESCRIPTION "libepoxy"
URL "https://github.com/anholt/libepoxy"
TYPE OPTIONAL
PURPOSE "Required for dma-buf support in pipewire screencast plugin."
)
if(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)

View File

@ -39,7 +39,7 @@
#include "xdp_dbus_remotedesktop_interface.h"
#include "krfb_fb_pipewire_debug.h"
#ifdef HAVE_DMA_BUF
#if HAVE_DMA_BUF
#include <fcntl.h>
#include <unistd.h>