diff options
Diffstat (limited to 'recipes-graphics/vulkan/vulkan-wsi-layer/0003-Update-minimum-version-of-CMake.patch')
| -rw-r--r-- | recipes-graphics/vulkan/vulkan-wsi-layer/0003-Update-minimum-version-of-CMake.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-graphics/vulkan/vulkan-wsi-layer/0003-Update-minimum-version-of-CMake.patch b/recipes-graphics/vulkan/vulkan-wsi-layer/0003-Update-minimum-version-of-CMake.patch new file mode 100644 index 000000000..0bc00de02 --- /dev/null +++ b/recipes-graphics/vulkan/vulkan-wsi-layer/0003-Update-minimum-version-of-CMake.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 0c4ed8178a25135ced9df8c8a8909e2882bfe869 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Maged Elnaggar <maged.elnaggar@arm.com> | ||
| 3 | Date: Tue, 17 Jun 2025 10:33:44 +0000 | ||
| 4 | Subject: [PATCH] Update minimum version of CMake | ||
| 5 | |||
| 6 | Set CMake minimum required version range to 3.4.3...4.0 | ||
| 7 | to silence compatibility errors in CMake 4.0 | ||
| 8 | by explicitly opting into all policies up to 4.0 | ||
| 9 | |||
| 10 | Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer/-/commit/1eafebc56a7f735cd4e8298956d596c64ac9f681] | ||
| 11 | Signed-off-by: Maged Elnaggar <maged.elnaggar@arm.com> | ||
| 12 | Change-Id: I2e0527dde4e764e9c17f519fc0ddd3c0e382fa31 | ||
| 13 | --- | ||
| 14 | CMakeLists.txt | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 18 | index 4dc800c..b91cd54 100644 | ||
| 19 | --- a/CMakeLists.txt | ||
| 20 | +++ b/CMakeLists.txt | ||
| 21 | @@ -20,7 +20,7 @@ | ||
| 22 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| 23 | # SOFTWARE. | ||
| 24 | |||
| 25 | -cmake_minimum_required(VERSION 3.4.3) | ||
| 26 | +cmake_minimum_required(VERSION 3.4.3...4.0) | ||
| 27 | project(VkLayer_window_system_integration) | ||
| 28 | |||
| 29 | find_package(PkgConfig REQUIRED) | ||
| 30 | -- | ||
| 31 | 2.34.1 | ||
| 32 | |||
