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.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/cmake/GLEXT.cmake b/indra/cmake/GLEXT.cmake
index 415b13033c..15f7e1f2d5 100644
--- a/indra/cmake/GLEXT.cmake
+++ b/indra/cmake/GLEXT.cmake
@@ -2,7 +2,9 @@
include(Prebuilt)
if (NOT USESYSTEMLIBS)
- use_prebuilt_binary(glext)
+ if (LINUX OR WINDOWS)
+ use_prebuilt_binary(glext)
+ endif (LINUX OR WINDOWS)
use_prebuilt_binary(glh-linear)
set(GLEXT_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include)
endif (NOT USESYSTEMLIBS)