summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-10-30 17:22:09 -0400
committerRye <rye@alchemyviewer.org>2025-11-02 21:40:05 -0500
commit0c1cbf2d38cbd0db5c9cfb86559b4fc5e4acee0d (patch)
tree725abfa056852880daeaa3bae41951b03c1bcb3d /indra/cmake
parent0c796b0c429058b334ee8968c4f0019445c09d55 (diff)
Add support for GLX and EGL to GL extension loader
Fix dullahan wayland support Fix shader GL_ERROR under GL Core profile in Mesa Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/UI.cmake12
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/cmake/UI.cmake b/indra/cmake/UI.cmake
index afa1350ef0..8e6382ceeb 100644
--- a/indra/cmake/UI.cmake
+++ b/indra/cmake/UI.cmake
@@ -14,12 +14,20 @@ if (LINUX)
find_package(PkgConfig REQUIRED)
pkg_check_modules(WAYLAND_CLIENT wayland-client)
- if( WAYLAND_CLIENT_FOUND )
- target_compile_definitions( ll::uilibraries INTERFACE LL_WAYLAND=1)
+ if(WAYLAND_CLIENT_FOUND)
+ target_compile_definitions(ll::uilibraries INTERFACE LL_WAYLAND=1)
else()
message("pkgconfig could not find wayland client, compiling without full wayland support")
endif()
+ find_package(X11)
+ if(X11_FOUND)
+ target_compile_definitions(ll::uilibraries INTERFACE LL_X11=1)
+ else()
+ message("Could not find X11, compiling without full X11 support")
+ endif()
+
+
target_link_libraries( ll::uilibraries INTERFACE
ll::fontconfig
ll::freetype