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.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/cmake/OpenGL.cmake b/indra/cmake/OpenGL.cmake
new file mode 100644
index 0000000000..6a2b6811af
--- /dev/null
+++ b/indra/cmake/OpenGL.cmake
@@ -0,0 +1,9 @@
+# -*- cmake -*-
+include(Prebuilt)
+
+if (NOT STANDALONE)
+ use_prebuilt_binary(GL)
+ # possible glh_linear should have its own .cmake file instead
+ use_prebuilt_binary(glh_linear)
+ set(GLEXT_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
+endif (NOT STANDALONE)