summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/cmake/GLEXT.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/cmake/GLEXT.cmake b/indra/cmake/GLEXT.cmake
index 434b6f0ee8..2e46d1bea8 100644
--- a/indra/cmake/GLEXT.cmake
+++ b/indra/cmake/GLEXT.cmake
@@ -3,6 +3,11 @@ include(Prebuilt)
include(GLH)
add_library( ll::glext INTERFACE IMPORTED )
+
+if (NOT (USE_AUTOBUILD_3P OR USE_CONAN))
+ return ()
+endif ()
+
if (WINDOWS OR LINUX)
use_system_binary(glext)
use_prebuilt_binary(glext)