Skip to content

Commit

Permalink
Use GLVND as preferred OpenGL ABI on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
hobyst committed Sep 11, 2023
1 parent 6b13b51 commit 7286191
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMake/BackendsDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ endif()

# --- Rendering APIs ---
# OpenGL

# Set preferred OpenGL ABI on Linux for target OpenGL::GL
# More info: https://cmake.org/cmake/help/latest/module/FindOpenGL.html#linux-specific
set(OpenGL_GL_PREFERENCE "GLVND")

# RMLUI_CMAKE_MINIMUM_VERSION_RAISE_NOTICE:
# OpenGL handling changes in CMake 3.11, requiring to set CMake policy CMP0072
# More info: https://cmake.org/cmake/help/latest/policy/CMP0072.html
Expand Down

0 comments on commit 7286191

Please sign in to comment.