Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix the warning CPM: Your project is using an unstable development version of CPM.cmake. when using FetchContent #655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
flagarde wants to merge 1 commit into cpm-cmake:master
base: master
Choose a base branch
Loading
from external-packages:fix

Conversation

@flagarde
Copy link
Contributor

@flagarde flagarde commented Mar 13, 2025

This PR fix the warning

CMake Warning at build/_deps/cpm-src/cmake/CPM.cmake:80 (message):
 CPM: Your project is using an unstable development version of CPM.cmake.
 Please update to a recent release if possible. See
 https://github.com/cpm-cmake/CPM.cmake for details.
Call Stack (most recent call first):
 build/_deps/cpm-src/CMakeLists.txt:37 (include)

when using FetchContent to download CPM.

describe --tags --long command :
Always output the long format (the tag, the number of commits and the abbreviated commit name) even when it matches a tag. This is useful when you want to see parts of the commit object name in "describe" output, even when the commit in question happens to be a tagged version. Instead of just emitting the tag name, it will describe such a commit as v1.2-0-gdeadbee (0th commit since tag v1.2 that points at object deadbee...​.).

so if the HEAD is exactly at some tags matching v*..-0-* then Head is on a release and so not a development.

jdrouhard reacted with thumbs up emoji
@flagarde flagarde changed the title (削除) fix (削除ここまで) (追記) fix the warning CPM: Your project is using an unstable development version of CPM.cmake. when using FetchContent (追記ここまで) Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /