summaryrefslogtreecommitdiff
path: root/indra/cmake/OpenGL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/OpenGL.cmake')
-rw-r--r--indra/cmake/OpenGL.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/cmake/OpenGL.cmake b/indra/cmake/OpenGL.cmake
index bf7cd8366a..5e00eff3b8 100644
--- a/indra/cmake/OpenGL.cmake
+++ b/indra/cmake/OpenGL.cmake
@@ -4,3 +4,8 @@ include(Variables)
include(Prebuilt)
include(FindOpenGL)
+if (USE_FLATPAK)
+ add_library(ll::glu INTERFACE IMPORTED)
+ use_prebuilt_binary(glu)
+ target_link_libraries(ll::glu INTERFACE GLU)
+endif ()