[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:
Lázaro Albuquerque 2024-06-16 04:42:50 -04:00 committed by GitHub
parent 04735fa9bb
commit cc40a91343
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 5 deletions

View file

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