playwright-webkit: apply CMake 4 compat patch to overriden libjxl
This is a backport of the same change that was applied in 166e159ad7
This commit is contained in:
@@ -106,6 +106,14 @@ let
|
|||||||
# Fix multiple definition errors by using C++17 instead of C++11
|
# Fix multiple definition errors by using C++17 instead of C++11
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
--replace "set(CMAKE_CXX_STANDARD 11)" "set(CMAKE_CXX_STANDARD 17)"
|
--replace "set(CMAKE_CXX_STANDARD 11)" "set(CMAKE_CXX_STANDARD 17)"
|
||||||
|
# Fix the build with CMake 4.
|
||||||
|
# See:
|
||||||
|
# * <https://github.com/webmproject/sjpeg/commit/9990bdceb22612a62f1492462ef7423f48154072>
|
||||||
|
# * <https://github.com/webmproject/sjpeg/commit/94e0df6d0f8b44228de5be0ff35efb9f946a13c9>
|
||||||
|
substituteInPlace third_party/sjpeg/CMakeLists.txt \
|
||||||
|
--replace-fail \
|
||||||
|
'cmake_minimum_required(VERSION 2.8.7)' \
|
||||||
|
'cmake_minimum_required(VERSION 3.5...3.10)'
|
||||||
'';
|
'';
|
||||||
postInstall = "";
|
postInstall = "";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user