Skip to content

Commit 1e12090

Browse files
committed
keep for Android
1 parent f86ffa5 commit 1e12090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ else()
169169
message(FATAL_ERROR "OpenGL ES 3 support is currently only available for Linux platforms. You're building for ${CMAKE_SYSTEM_NAME}.")
170170
endif()
171171

172-
if (CMAKE_VERSION VERSION_LESS_EQUAL "3.22")
172+
if (CMAKE_VERSION VERSION_LESS_EQUAL "3.22" OR CMAKE_SYSTEM_NAME STREQUAL Android)
173173
# We use a local find script for OpenGL::GLES3 until the proposed changes are merged upstream.
174174
list(APPEND CMAKE_MODULE_PATH "${PROJECTM_SOURCE_DIR}/cmake/gles")
175175
endif()

0 commit comments

Comments
 (0)