浏览代码

[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 个月前
committed by GitHub
父节点
当前提交
5ba18575de
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/CMakeLists.txt

+ 1
- 1
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()

正在加载...
取消
保存