From 875d7a74dcbca16a34a0c745064e9ff677e42353 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Tue, 20 Aug 2024 00:02:27 +0000 Subject: [PATCH] Remove gl preference in cmake Signed-off-by: Ian Chen --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 790178574..96ce89131 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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