summaryrefslogtreecommitdiff
path: root/indra/cmake/GLH.cmake
diff options
context:
space:
mode:
authorBoroondas Gupte (patch by Aleric Inglewood) <hg@boroon.dasgupta.ch>2011-04-03 14:34:44 +0200
committerBoroondas Gupte (patch by Aleric Inglewood) <hg@boroon.dasgupta.ch>2011-04-03 14:34:44 +0200
commit942823db091c0b10a80cbfc5994008624f18d318 (patch)
tree8eb0b5576d2e39f3dec254b1dfb0d161ac5c9c83 /indra/cmake/GLH.cmake
parent216c3b47716f6eb5ebf1713c77fc6a6bb6f43abe (diff)
OPEN-38: Fixes for viewer-autobuild for standalone
Reviewed at https://codereview.secondlife.com/r/167/ (The patch to create this commit was taken from there, too. That patch was made relative to 5f0ab9443ece. Applied cleanly to the (earlier) 43b4b7927c00.) Also fixes OPEN-36
Diffstat (limited to 'indra/cmake/GLH.cmake')
-rw-r--r--indra/cmake/GLH.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/cmake/GLH.cmake b/indra/cmake/GLH.cmake
new file mode 100644
index 0000000000..911dbe4017
--- /dev/null
+++ b/indra/cmake/GLH.cmake
@@ -0,0 +1,11 @@
+# -*- cmake -*-
+include(Prebuilt)
+
+set(GLH_FIND_REQUIRED TRUE)
+set(GLH_FIND_QUIETLY TRUE)
+
+if (STANDALONE)
+ include(FindGLH)
+else (STANDALONE)
+ use_prebuilt_binary(glh_linear)
+endif (STANDALONE)