diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-04-15 22:01:28 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-04-15 22:01:28 +0800 |
| commit | 3256bf3810806766c12e59f24515761e0a0df509 (patch) | |
| tree | 0a9fa7b5161092a06c55006a16153542c213a20e | |
| parent | 775d89fc33fb1e6f0b8dbbe825120527a7521ad9 (diff) | |
| download | alicelinux-3256bf3810806766c12e59f24515761e0a0df509.tar.gz alicelinux-3256bf3810806766c12e59f24515761e0a0df509.zip | |
x265: fix build with latest cmake
| -rw-r--r-- | repos/extra/x265/abuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/repos/extra/x265/abuild b/repos/extra/x265/abuild index 76f41883..e2178d52 100644 --- a/repos/extra/x265/abuild +++ b/repos/extra/x265/abuild @@ -2,5 +2,10 @@ name=x265 version=4.1 release=1 source="https://bitbucket.org/multicoreware/x265_git/downloads/x265_${version}.tar.gz" -build_opt="-DGIT_ARCHETYPE=1 " +build_opt="-DGIT_ARCHETYPE=1 -DCMAKE_POLICY_VERSION_MINIMUM=3.5" build_dir=x265_${version}/source + +prebuild() { + sed -r '/cmake_policy.*(0025|0054)/d' -i CMakeLists.txt +} + |