summaryrefslogtreecommitdiff
path: root/indra/cmake/GLEXT.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/GLEXT.cmake')
-rw-r--r--indra/cmake/GLEXT.cmake7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/cmake/GLEXT.cmake b/indra/cmake/GLEXT.cmake
index a780966f0c..ea349237d3 100644
--- a/indra/cmake/GLEXT.cmake
+++ b/indra/cmake/GLEXT.cmake
@@ -3,7 +3,10 @@ include(Prebuilt)
include(GLH)
add_library( ll::glext INTERFACE IMPORTED )
-use_system_binary(glext)
-use_prebuilt_binary(glext)
+if (USESYSTEMLIBS)
+ return ()
+endif ()
+use_system_binary(glext)
+use_prebuilt_binary(glext)