[build] CMake: pass -sFULL_ES3 instead of -sFULL_ES3=1 (#4090)

* Allow ES3 in LibraryConfigurations.cmake

* Put FULL_ES3 as linker option

* Remove =1
This commit is contained in:
manuel5975p 2024-06-22 19:20:33 +02:00 committed by GitHub
parent b0d49579c1
commit 5ba18575de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ endif()
if (${PLATFORM} MATCHES "Web")
target_link_options(raylib PUBLIC "-sUSE_GLFW=3")
if(${GRAPHICS} MATCHES "GRAPHICS_API_OPENGL_ES3")
target_link_options(raylib PUBLIC "-sFULL_ES3=1")
target_link_options(raylib PUBLIC "-sFULL_ES3")
endif()
endif()