diff --git a/package/azure-iot-sdk-c/0001-Bump-cmake-version-and-update-dependencies.patch b/package/azure-iot-sdk-c/0001-Bump-cmake-version-and-update-dependencies.patch new file mode 100644 index 0000000000..7cef575532 --- /dev/null +++ b/package/azure-iot-sdk-c/0001-Bump-cmake-version-and-update-dependencies.patch @@ -0,0 +1,30 @@ +From 1a9a5fd688d811ca7300edccbdfc623fdaa1b8dc Mon Sep 17 00:00:00 2001 +From: Dan Cristoloveanu +Date: Wed, 27 Jan 2021 12:59:18 -0800 +Subject: [PATCH] Bump cmake version and update dependencies (#65) + +* Bump cmake version to 3.18 + +Upstream: https://github.com/Azure/macro-utils-c/commit/1a9a5fd688d811ca7300edccbdfc623fdaa1b8dc + +Signed-off-by: Bernd Kuhls +[backported to LTS_03_2025] +--- + deps/azure-macro-utils-c/CMakeLists.txt | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 29b3416..3b82d4e 100644 +--- a/deps/azure-macro-utils-c/CMakeLists.txt ++++ b/deps/azure-macro-utils-c/CMakeLists.txt +@@ -1,7 +1,9 @@ + #Copyright (c) Microsoft. All rights reserved. + #Licensed under the MIT license. See LICENSE file in the project root for full license information. + +-cmake_minimum_required(VERSION 2.8.11) ++if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) ++ cmake_minimum_required(VERSION 3.18) ++endif() + + if(TARGET azure_macro_utils_c) + return() diff --git a/package/azure-iot-sdk-c/0002-Bump-cmake-version-and-update-dependencies.patch b/package/azure-iot-sdk-c/0002-Bump-cmake-version-and-update-dependencies.patch new file mode 100644 index 0000000000..c1076d70be --- /dev/null +++ b/package/azure-iot-sdk-c/0002-Bump-cmake-version-and-update-dependencies.patch @@ -0,0 +1,30 @@ +From 02ed1852d45fda6994748118bab129e5d2527c0f Mon Sep 17 00:00:00 2001 +From: Dan Cristoloveanu +Date: Wed, 27 Jan 2021 21:35:21 -0800 +Subject: [PATCH] Bump cmake version (#189) + +* Bump version for cmake + +Upstream: https://github.com/Azure/umock-c/commit/02ed1852d45fda6994748118bab129e5d2527c0f + +Signed-off-by: Bernd Kuhls +[backported to LTS_03_2025] +--- + deps/umock-c/CMakeLists.txt | 5 ++++- + 1 files change, 13 insertions(+), 74 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f1a7a9f4..fc479cac 100644 +--- a/deps/umock-c/CMakeLists.txt ++++ b/deps/umock-c/CMakeLists.txt +@@ -1,7 +1,9 @@ + #Copyright (c) Microsoft. All rights reserved. + #Licensed under the MIT license. See LICENSE file in the project root for full license information. + +-cmake_minimum_required(VERSION 2.8.11) ++if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION) ++ cmake_minimum_required(VERSION 3.18) ++endif() + + if(TARGET umock_c) + return()