From b926bb72204d82f0a1a5a2de51377409958de369 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Tue, 18 Feb 2025 20:27:03 -0600 Subject: [PATCH] CMake: Remove old policy 0072 --- CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e4361f8fb2..12cffbd4b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,13 +11,6 @@ if(POLICY CMP0175) cmake_policy(SET CMP0175 NEW) endif() -# policy CMP0072 was introduced with CMake 3.11 -# relates to FindOpenGL module -# and cache variables OPENGL_gl_LIBRARY, OPENGL_glu_LIBRARY -if (POLICY CMP0072) - set(OpenGL_GL_PREFERENCE LEGACY) -endif(POLICY CMP0072) - # FindPythonInterp and FindPythonLibs modules are deprecated. # Currently, they are still used by shiboken's CMake files if (POLICY CMP0148)