summaryrefslogtreecommitdiffhomepage
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authormanuel5975p <[email protected]>2024-06-22 19:20:33 +0200
committerGitHub <[email protected]>2024-06-22 19:20:33 +0200
commit5ba18575decc14409d9aecb6614624abb7a313b6 (patch)
treeecc53cf3c9c513f927f33e05b9155b010158eb34 /src/CMakeLists.txt
parentb0d49579c17e7b2bcebd0afc0b8cdb7314b5f41d (diff)
downloadraylib-5ba18575decc14409d9aecb6614624abb7a313b6.tar.gz
raylib-5ba18575decc14409d9aecb6614624abb7a313b6.zip
[build] CMake: pass -sFULL_ES3 instead of -sFULL_ES3=1 (#4090)
* Allow ES3 in LibraryConfigurations.cmake * Put FULL_ES3 as linker option * Remove =1
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4ba1c700..c1360ee2 100644
--- a/src/CMakeLists.txt
+++ b/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()