summaryrefslogtreecommitdiff
path: root/indra/cmake/GLEXT.cmake
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-12-15 12:57:56 -0500
committerOz Linden <oz@lindenlab.com>2014-12-15 12:57:56 -0500
commit062c13364bd6431974b59d9eadf137decdffdbee (patch)
treed2431883d9a8520581f248ed4a2a21aac4cd0ebd /indra/cmake/GLEXT.cmake
parent9960145ed0d3057c9b3aa9ab8bd55b180bcbd46c (diff)
don't include glext on Mac where it is not used
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..2a08c8fbae 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 (WINDOWS OR LINUX)
+ use_prebuilt_binary(glext)
+ endif (WINDOWS OR LINUX)
use_prebuilt_binary(glh-linear)
set(GLEXT_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include)
endif (NOT USESYSTEMLIBS)