summaryrefslogtreecommitdiffhomepage
path: root/cmake/LibraryConfigurations.cmake
diff options
context:
space:
mode:
authormooff <[email protected]>2023-11-07 07:41:15 +0000
committerGitHub <[email protected]>2023-11-07 08:41:15 +0100
commit3b09ef58ca03426ef1572ae783c9a2f2ea373ab8 (patch)
treee04b85b783b3b9b9dc5ff6b304f211c4e3a928ad /cmake/LibraryConfigurations.cmake
parent6cd37e57a6b38bb06cc54ecf6aa7659d4895723b (diff)
downloadraylib-3b09ef58ca03426ef1572ae783c9a2f2ea373ab8.tar.gz
raylib-3b09ef58ca03426ef1572ae783c9a2f2ea373ab8.zip
Add ES 3.0 to CMakeOptions (#3514)
Diffstat (limited to 'cmake/LibraryConfigurations.cmake')
-rw-r--r--cmake/LibraryConfigurations.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/LibraryConfigurations.cmake b/cmake/LibraryConfigurations.cmake
index 1debfeb4..d4bf45a0 100644
--- a/cmake/LibraryConfigurations.cmake
+++ b/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")