aboutsummaryrefslogtreecommitdiff
path: root/raylib/cmake/LibraryConfigurations.cmake
diff options
context:
space:
mode:
authorUneven Prankster <unevenprankster@protonmail.com>2023-11-16 21:12:27 -0300
committerUneven Prankster <unevenprankster@protonmail.com>2023-11-16 21:12:27 -0300
commit2bbf92ad5ae7708bf18ac7ef333e9a979d8d1bde (patch)
treec9d22bb0d73d9cc0c8586e4d31c93a561ea8e910 /raylib/cmake/LibraryConfigurations.cmake
parent1c0cc775732201f4c4d3ee0d6772be786b3b4aa1 (diff)
Working so hard like a soldiermain
Can't afford a thing on TV
Diffstat (limited to 'raylib/cmake/LibraryConfigurations.cmake')
-rw-r--r--raylib/cmake/LibraryConfigurations.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/raylib/cmake/LibraryConfigurations.cmake b/raylib/cmake/LibraryConfigurations.cmake
index 1debfeb..d4bf45a 100644
--- a/raylib/cmake/LibraryConfigurations.cmake
+++ b/raylib/cmake/LibraryConfigurations.cmake
@@ -105,6 +105,8 @@ if (NOT ${OPENGL_VERSION} MATCHES "OFF")
set(GRAPHICS "GRAPHICS_API_OPENGL_11")
elseif (${OPENGL_VERSION} MATCHES "ES 2.0")
set(GRAPHICS "GRAPHICS_API_OPENGL_ES2")
+ elseif (${OPENGL_VERSION} MATCHES "ES 3.0")
+ set(GRAPHICS "GRAPHICS_API_OPENGL_ES3")
endif ()
if ("${SUGGESTED_GRAPHICS}" AND NOT "${SUGGESTED_GRAPHICS}" STREQUAL "${GRAPHICS}")
message(WARNING "You are overriding the suggested GRAPHICS=${SUGGESTED_GRAPHICS} with ${GRAPHICS}! This may fail")