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.cmake10
1 files changed, 3 insertions, 7 deletions
diff --git a/indra/cmake/GLEXT.cmake b/indra/cmake/GLEXT.cmake
index 2e46d1bea8..ea349237d3 100644
--- a/indra/cmake/GLEXT.cmake
+++ b/indra/cmake/GLEXT.cmake
@@ -4,13 +4,9 @@ include(GLH)
add_library( ll::glext INTERFACE IMPORTED )
-if (NOT (USE_AUTOBUILD_3P OR USE_CONAN))
+if (USESYSTEMLIBS)
return ()
endif ()
-if (WINDOWS OR LINUX)
- use_system_binary(glext)
- use_prebuilt_binary(glext)
-endif (WINDOWS OR LINUX)
-
-
+use_system_binary(glext)
+use_prebuilt_binary(glext)