Add CMake building support

This commit is contained in:
Tera << 8 2025-06-07 18:58:42 -04:00
parent a77f0c6c77
commit 07c5e54f59
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
4 changed files with 21 additions and 12 deletions

View file

@ -82,7 +82,11 @@
#if defined(ENABLE_WAYLAND_DRM_LEASING)
#include "wayland-client.h" // Wayland client. Used to do DRM leasing.
#include "drm-lease-v1.h"
// DRM leasing protocol that's used
#if defined(ENABLE_WAYLAND_DRM_LEASING)
#include "drm-lease-v1.c"
#include "drm-lease-v1.h"
#endif
#endif
#ifndef EGL_OPENGL_ES3_BIT