From 7e47eff5042c2fb897c8eee1219889a84ca3bf36 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Fri, 31 Jul 2026 19:29:02 +0800 Subject: Compare LINUX_DISTRO with freedesktop on Flatpak so no need for USE_FLATPAK, and just maybe there are some other platforms that use this runtime as the distro info. --- indra/cmake/OpenGL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/cmake/OpenGL.cmake') diff --git a/indra/cmake/OpenGL.cmake b/indra/cmake/OpenGL.cmake index 5e00eff3b8..feaedf16e5 100644 --- a/indra/cmake/OpenGL.cmake +++ b/indra/cmake/OpenGL.cmake @@ -4,7 +4,7 @@ include(Variables) include(Prebuilt) include(FindOpenGL) -if (USE_FLATPAK) +if (${LINUX_DISTRO} MATCHES freedesktop) add_library(ll::glu INTERFACE IMPORTED) use_prebuilt_binary(glu) target_link_libraries(ll::glu INTERFACE GLU) -- cgit v1.3