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

CMake: use version flags if Git isn't found #12106

Merged
merged 1 commit into from Aug 15, 2023

Conversation

SuperSamus
Copy link
Contributor

Some build systems (e.g. Nix) strip out the .git folder before building.
In order to preserve the revision info, they could simply pass DOLPHIN_WC_REVISION, DOLPHIN_WC_DESCRIBE and DOLPHIN_WC_BRANCH to the CMake flags. However, after #12007, this wasn't possible anymore (I suppose accidentally).
This PR restores that.

@AdmiralCurtiss
Copy link
Contributor

I guess that's fine...

@AdmiralCurtiss AdmiralCurtiss merged commit 98592b4 into dolphin-emu:master Aug 15, 2023
11 checks passed
@SuperSamus SuperSamus deleted the cmake-pass-version branch August 15, 2023 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants