--- x265_4.1/source/CMakeLists.txt.old 2025-04-13 22:22:43.741477169 -0400 +++ x265_4.1/source/CMakeLists.txt 2025-04-13 22:23:47.866170392 -0400 @@ -6,18 +6,12 @@ FORCE) endif() message(STATUS "cmake version ${CMAKE_VERSION}") -if(POLICY CMP0025) - cmake_policy(SET CMP0025 OLD) # report Apple's Clang as just Clang -endif() if(POLICY CMP0042) cmake_policy(SET CMP0042 NEW) # MACOSX_RPATH endif() -if(POLICY CMP0054) - cmake_policy(SET CMP0054 OLD) # Only interpret if() arguments as variables or keywords when unquoted -endif() project (x265) -cmake_minimum_required (VERSION 2.8.8) # OBJECT libraries require 2.8.8 +cmake_minimum_required (VERSION 2.8.8...3.10) # OBJECT libraries require 2.8.8 include(CheckIncludeFiles) include(CheckFunctionExists) include(CheckSymbolExists)