Azure / Azure/azure-vm-utils

Update CMake compatibility

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11
Forks
24
Avg merge
2d 15h
Merged PRs (30d)
1

Description

Using a recent CMake version (like 3.31.5) shows this warning.

```
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
```

I haven't tried it myself, but I know from dealing with other Gentoo Linux packaging issues that this is a fatal error with the new CMake 4, which Gentoo is now trialling. I recommend using the range syntax as it suggests.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.