Skip to content

Commit

Permalink
Remove gl preference in cmake (#1041)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 authored Aug 20, 2024
1 parent f9e5a8d commit 6611f3b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ set(GZ_UTILS_VER ${gz-utils3_VERSION_MAJOR})

#--------------------------------------
# Find OpenGL
# See CMP0072 for more details (cmake --help-policy CMP0072)
if (NOT OpenGL_GL_PREFERENCE)
set(OpenGL_GL_PREFERENCE "GLVND")
endif()

if (APPLE)
gz_find_package(OpenGL
REQUIRED_BY ogre ogre2
Expand Down

0 comments on commit 6611f3b

Please sign in to comment.