Skip to content

Commit

Permalink
Up CMake minimum required version (#8287)
Browse files Browse the repository at this point in the history
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 <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

Signed-off-by: Soren Soe <[email protected]>
  • Loading branch information
stsoe authored Jul 11, 2024
1 parent 3cef7a0 commit 8bbe208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMake/cpackWin.cmake
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit 8bbe208

Please sign in to comment.