diff options
Diffstat (limited to 'meta/recipes-sato/webkit/libwpe/0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch')
| -rw-r--r-- | meta/recipes-sato/webkit/libwpe/0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-sato/webkit/libwpe/0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch b/meta/recipes-sato/webkit/libwpe/0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch deleted file mode 100644 index 05688ee463..0000000000 --- a/meta/recipes-sato/webkit/libwpe/0001-cmake-Bump-required-CMake-version-to-3.5-to-allow-bu.patch +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | From 7b227c7c1ac226498b1ea3987f87350d0f14f49f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Moritz Haase <Moritz.Haase@bmw.de> | ||
| 3 | Date: Wed, 2 Jul 2025 09:19:44 +0200 | ||
| 4 | Subject: [PATCH] cmake: Bump required CMake version to 3.5 to allow builds | ||
| 5 | with CMake 4+ | ||
| 6 | |||
| 7 | This enables builds with CMake 4+, fixing: | ||
| 8 | |||
| 9 | CMake Error at CMakeLists.txt:1 (cmake_minimum_required): | ||
| 10 | Compatibility with CMake < 3.5 has been removed from CMake. | ||
| 11 | |||
| 12 | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | ||
| 13 | to tell CMake that the project requires at least <min> but has been | ||
| 14 | updated to work with policies introduced by <max> or earlier. | ||
| 15 | |||
| 16 | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | ||
| 17 | |||
| 18 | While at it, remove the extra call to 'cmake_policy()'. When passing the same | ||
| 19 | version as to 'cmake_minimum_required()' it's not needed, as the latter calls | ||
| 20 | the former automatically. | ||
| 21 | |||
| 22 | Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> | ||
| 23 | Upstream-Status: Submitted [https://github.com/WebPlatformForEmbedded/libwpe/pull/136] | ||
| 24 | --- | ||
| 25 | CMakeLists.txt | 3 +-- | ||
| 26 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
| 27 | |||
| 28 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 29 | index db9ae50..2a01daf 100644 | ||
| 30 | --- a/CMakeLists.txt | ||
| 31 | +++ b/CMakeLists.txt | ||
| 32 | @@ -1,5 +1,4 @@ | ||
| 33 | -cmake_minimum_required(VERSION 3.0) | ||
| 34 | -cmake_policy(VERSION 3.0) | ||
| 35 | +cmake_minimum_required(VERSION 3.5) | ||
| 36 | |||
| 37 | set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") | ||
| 38 | include(VersioningUtils) | ||
