Xilinx / Xilinx/embeddedsw

Upgrade old cmake_minimum_versions

Open
#373 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

There are some cmake_minimum_required(VERSION 3.3) in the source, that are not supported anymore by the current cmake releases (e.g. 4.1.2).

AFAIK replacing all occurrences of cmake_minimum_required(VERSION 3.3) with cmake_minimum_required(VERSION 3.15) works.

for example:
find . -type f -print0 | xargs -0 sed -i "s/cmake_minimum_required(VERSION 3\.3)/cmake_minimum_required(VERSION 3.15)/"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the source tree for every cmake_minimum_required(VERSION 3.3) occurrence, as shown in the issue. Update the occurrences to VERSION 3.15, then verify that no old occurrences remain and that the project is accepted by a current CMake release.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.