mirror of
https://github.com/lubosz/overte.git
synced 2025-04-09 07:22:31 +02:00
fix gpu CMakeLists for Android
This commit is contained in:
parent
98833e732d
commit
d7ad20e476
2 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,8 @@ elseif (WIN32)
|
|||
add_definitions(-DNSIGHT_FOUND)
|
||||
target_link_libraries(${TARGET_NAME} "${NSIGHT_LIBRARIES}")
|
||||
endif ()
|
||||
elseif (ANDROID)
|
||||
target_link_libraries(${TARGET_NAME} "-lGLESv3" "-lEGL")
|
||||
else ()
|
||||
find_package(OpenGL REQUIRED)
|
||||
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
#include <GL/glew.h>
|
||||
#include <GL/wglew.h>
|
||||
|
||||
#elif defined(ANDROID)
|
||||
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glext.h>
|
||||
|
|
Loading…
Reference in a new issue