0029514: Configuration, CMake - OpenGL ES should be available for Linux

Allow optionally building OCCT with GLESv2 and EGL on Linux
This commit is contained in:
apn
2018-02-19 12:24:55 +03:00
committed by bugmaster
parent 94807a7d97
commit 8bf738e673
2 changed files with 6 additions and 2 deletions

View File

@@ -583,7 +583,7 @@ else()
endif()
# OpenGL ES 2.0
if (WIN32 AND CAN_USE_GLES2)
if (CAN_USE_GLES2)
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsStore")
set (USE_GLES2 ON)
else()