Przeglądaj źródła
[build] CMake: pass -sFULL_ES3 instead of -sFULL_ES3=1 (#4090)
* Allow ES3 in LibraryConfigurations.cmake
* Put FULL_ES3 as linker option
* Remove =1
pull/4092/head
manuel5975p
7 miesięcy temu
committed by
GitHub
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z
1 dodań i
1 usunięć
-
src/CMakeLists.txt
|
|
@ -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() |
|
|
|
|
|
|
|