Set correct includes for ES3 support, fix GL_HALF_FLOAT with custom define
This commit is contained in:
parent
c147ab51c9
commit
c49dbac134
1 changed files with 22 additions and 8 deletions
|
|
@ -58,7 +58,9 @@ if (${PLATFORM} MATCHES "Desktop")
|
|||
|
||||
elseif (${PLATFORM} MATCHES "Web")
|
||||
set(PLATFORM_CPP "PLATFORM_WEB")
|
||||
set(GRAPHICS "GRAPHICS_API_OPENGL_ES2")
|
||||
if(NOT DEFINED GRAPHICS)
|
||||
set(GRAPHICS "GRAPHICS_API_OPENGL_ES2")
|
||||
endif()
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s USE_GLFW=3 -s ASSERTIONS=1 --profiling")
|
||||
set(CMAKE_STATIC_LIBRARY_SUFFIX ".a")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue