31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From 1a9a5fd688d811ca7300edccbdfc623fdaa1b8dc Mon Sep 17 00:00:00 2001
|
|
From: Dan Cristoloveanu <dcristo@microsoft.com>
|
|
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 <bernd@kuhls.net>
|
|
[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()
|