Files
x265/x265.patch
2025-05-18 15:58:57 +03:00

27 lines
761 B
Diff

---
source/CMakeLists.txt | 2 +-
source/dynamicHDR10/json11/json11.cpp | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -13,7 +13,7 @@
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
+ cmake_policy(SET CMP0054 NEW) # Only interpret if() arguments as variables or keywords when unquoted
endif()
project (x265)
--- a/source/dynamicHDR10/json11/json11.cpp
+++ b/source/dynamicHDR10/json11/json11.cpp
@@ -24,6 +24,7 @@
#include <cmath>
#include <cstdlib>
#include <cstdio>
+#include <cstdint>
#include <limits>
#if _MSC_VER