Skip to content
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

Pick up version from tarball name NAME-VERSION.tar.xz #536

Open
jhasse opened this issue Feb 13, 2024 · 0 comments
Open

Pick up version from tarball name NAME-VERSION.tar.xz #536

jhasse opened this issue Feb 13, 2024 · 0 comments

Comments

@jhasse
Copy link
Contributor

jhasse commented Feb 13, 2024

I'm adding libogg like this:

CPMAddPackage(NAME libogg
	URL http://downloads.xiph.org/releases/ogg/libogg-1.3.5.tar.xz
	URL_HASH SHA256=c4d91be36fc8e54deae7575241e03f4211eb102afb3fc0775fbbc1b740016705
	OPTIONS "BUILD_TESTING OFF")

which results in the following output:

CPM: Adding package libogg@ ()

For other downloads CPM automatically picks up the version number from the filename, would be great if it works here, too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant