summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-07-31 19:29:02 +0800
committerErik Kundiman <erik@megapahit.org>2026-07-31 19:29:02 +0800
commit7e47eff5042c2fb897c8eee1219889a84ca3bf36 (patch)
tree2527d29a965dd54463f4d82834c86906996db22d /indra/llrender
parentf94ad55c430f1b898e74871233703b12e48b8fce (diff)
Compare LINUX_DISTRO with freedesktop on FlatpakHEADmain
so no need for USE_FLATPAK, and just maybe there are some other platforms that use this runtime as the distro info.
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/CMakeLists.txt b/indra/llrender/CMakeLists.txt
index d7a1d76630..71423de95d 100644
--- a/indra/llrender/CMakeLists.txt
+++ b/indra/llrender/CMakeLists.txt
@@ -105,7 +105,7 @@ target_link_libraries(llrender
OpenGL::GL
)
-if (USE_FLATPAK)
+if (${LINUX_DISTRO} MATCHES freedesktop)
target_link_libraries(${PROJECT_NAME} ll::glu)
else ()
target_link_libraries(${PROJECT_NAME} OpenGL::GLU)