diff options
| author | Roy Qu <[email protected]> | 2023-07-14 03:20:06 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-13 21:20:06 +0200 |
| commit | 22895ba14fab982ca74ec1526b48b924d1174e60 (patch) | |
| tree | c2361956ee401167b1ca284420115ad0db939136 /cmake | |
| parent | bc9c06325481c0b4b5a2db3b2a8281465569ba3e (diff) | |
| download | raylib-22895ba14fab982ca74ec1526b48b924d1174e60.tar.gz raylib-22895ba14fab982ca74ec1526b48b924d1174e60.zip | |
fix: cmake option "OPENGL_VERSION" doesn't work (#3170)
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/LibraryConfigurations.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/LibraryConfigurations.cmake b/cmake/LibraryConfigurations.cmake index e9eee630..d12df3a0 100644 --- a/cmake/LibraryConfigurations.cmake +++ b/cmake/LibraryConfigurations.cmake @@ -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") |
