Browse Source

fix: cmake option "OPENGL_VERSION" doesn't work (#3170)

pull/3176/head
Roy Qu 1 year ago
committed by GitHub
parent
commit
22895ba14f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmake/LibraryConfigurations.cmake

+ 1
- 1
cmake/LibraryConfigurations.cmake View File

@ -106,7 +106,7 @@ elseif ("${PLATFORM}" MATCHES "DRM")
endif ()
if (NOT ${OPENGL_VERSION})
if (NOT ${OPENGL_VERSION} MATCHES "OFF")
set(${SUGGESTED_GRAPHICS} "${GRAPHICS}")
if (${OPENGL_VERSION} MATCHES "4.3")
set(GRAPHICS "GRAPHICS_API_OPENGL_43")

Loading…
Cancel
Save