don't include glext on Mac where it is not used

master
Oz Linden 2014-12-15 12:57:56 -05:00
parent 9960145ed0
commit 062c13364b
1 changed files with 3 additions and 1 deletions

View File

@ -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)