Il giorno 4 apr 2025, alle ore 13:23, Damiano Galassi <gala...@icloud.com> ha scritto: > > Hello, > Here’s a couple of fixes to CMakeLists.txt: > > Fix compilation on macOS arm64 after the latest CMake 4 commit, and improve > macOS cross compilation > > There is no need to set CMP0025 and CMP0054 in CMake 4, because those > policies are always enable. > Fix the actual cause the previous usage of CMP0025, and just remove CMP0054 > because > it looks like it's not needed anymore, and bump the minimum CMake versino to > 3.5. > > Plus set the CMAKE_OSX_ARCHITECTURES option when cross compiling on macOS > > Patch attached to the > email<0001-Fix-compilation-on-macOS-arm64-after-the-latest-CMak.patch>_______________________________________________ > x265-devel mailing list > x265-devel@videolan.org > https://mailman.videolan.org/listinfo/x265-devel
My patch fix the CMake issues, then on Intel macOS there is an additional failure caused by https://bitbucket.org/multicoreware/x265_git/commits/f5e4a648727ea86828df236eb44742fe3e3bf366 It should be resolved with https://bitbucket.org/multicoreware/x265_git/pull-requests/32/commits _______________________________________________ x265-devel mailing list x265-devel@videolan.org https://mailman.videolan.org/listinfo/x265-devel