[build] Fix some warnings on web builds and remove some redundant flags. (#4069)
* update
* Revert "update"
This reverts commit e8adcabd94
.
* update
* remove a not stricly required flag
This commit is contained in:
parent
04735fa9bb
commit
cc40a91343
3 changed files with 3 additions and 5 deletions
|
@ -59,7 +59,6 @@ if (${PLATFORM} MATCHES "Desktop")
|
|||
elseif (${PLATFORM} MATCHES "Web")
|
||||
set(PLATFORM_CPP "PLATFORM_WEB")
|
||||
set(GRAPHICS "GRAPHICS_API_OPENGL_ES2")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s USE_GLFW=3 -s ASSERTIONS=1 --profiling")
|
||||
set(CMAKE_STATIC_LIBRARY_SUFFIX ".a")
|
||||
|
||||
elseif (${PLATFORM} MATCHES "Android")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue