From 8bbe208610798f64d1059366634718821b3252ff Mon Sep 17 00:00:00 2001 From: Soren Soe <2106410+stsoe@users.noreply.github.com> Date: Thu, 11 Jul 2024 15:57:07 -0700 Subject: [PATCH] Up CMake minimum required version (#8287) Avoid CMake deprecation warning. CMake Deprecation Warning at src/xrt/src/CMake/cpackWin.cmake:4 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com> --- src/CMake/cpackWin.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMake/cpackWin.cmake b/src/CMake/cpackWin.cmake index dc209bc4ff5..341c3df9b07 100644 --- a/src/CMake/cpackWin.cmake +++ b/src/CMake/cpackWin.cmake @@ -1,7 +1,7 @@ # SPDX-License-Identifier: Apache-2.0 # Copyright (C) 2019-2021 Xilinx, Inc. All rights reserved. # -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.5.0) include(CPackComponent)