Browse Source

external: install gl2ext.h also for ES3.

Again, didn't bother with testing.
pull/34/head
Vladimír Vondruš 13 years ago
parent
commit
ad85e73d7e
  1. 5
      external/OpenGL/CMakeLists.txt
  2. 5
      external/OpenGL/GLES2/CMakeLists.txt

5
external/OpenGL/CMakeLists.txt vendored

@ -26,9 +26,8 @@ if(NOT TARGET_GLES)
add_subdirectory(GL) add_subdirectory(GL)
else() else()
add_subdirectory(KHR) add_subdirectory(KHR)
if(TARGET_GLES2) add_subdirectory(GLES2)
add_subdirectory(GLES2) if(NOT TARGET_GLES2)
else()
add_subdirectory(GLES3) add_subdirectory(GLES3)
endif() endif()
endif() endif()

5
external/OpenGL/GLES2/CMakeLists.txt vendored

@ -25,8 +25,9 @@
set(MagnumOpenGL_HEADERS set(MagnumOpenGL_HEADERS
gl2ext.h) gl2ext.h)
# NaCl has its own gl2.h, this one causes linker issues # We need gl2ext.h also for ES3 (but not the others). NaCl has its own gl2.h,
if(NOT CORRADE_TARGET_NACL) # this one causes linker issues
if(TARGET_GLES2 AND NOT CORRADE_TARGET_NACL)
set(MagnumOpenGL_HEADERS ${MagnumOpenGL_HEADERS} set(MagnumOpenGL_HEADERS ${MagnumOpenGL_HEADERS}
gl2platform.h gl2platform.h
gl2.h) gl2.h)

Loading…
Cancel
Save