File fix-cmake4.patch of Package libtuxcap

commit ef1237c4d862a261e62eaf36e02f938c55dcbd53
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date:   Tue Dec 2 06:41:54 2025 +0000

    Drop OLD policy CMP0003
    
    Cmake 4 no more allows the OLD policy version here.
    See https://cmake.org/cmake/help/latest/policy/CMP0003.html

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 94f3c86..960a994 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,6 @@ SET(CMAKE_FIND_FRAMEWORK FIRST)
 
 cmake_minimum_required(VERSION 2.6)
 if(COMMAND cmake_policy)
-    cmake_policy(SET CMP0003 OLD)
     cmake_policy(SET CMP0072 OLD) # Legacy OpenGL library instead of GLVND
 endif(COMMAND cmake_policy)
 
openSUSE Build Service is sponsored by