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

Make it possible to enable auto-updates by default with CMake builds #9649

Merged
merged 1 commit into from Apr 24, 2021

Conversation

leoetlino
Copy link
Member

This adds a CMake option (DOLPHIN_DEFAULT_UPDATE_TRACK) to allow configuring SCM_UPDATE_TRACK_STR. This is needed to enable auto-updates in Windows CMake builds by default.

This adds a CMake option (DOLPHIN_DEFAULT_UPDATE_TRACK) to allow
configuring SCM_UPDATE_TRACK_STR. This is needed to enable auto-updates
in Windows CMake builds by default.
@@ -17,6 +17,8 @@ project(dolphin-emu)
# unique name here.
set(DISTRIBUTOR "None" CACHE STRING "Name of the distributor.")

set(DOLPHIN_DEFAULT_UPDATE_TRACK "" CACHE STRING "Name of the default update track. If empty, disables auto-update.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My assumption is this approach let's you set the value via the command line if you don't want the default?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, and it gives you a nice description for the option (just like DISTRIBUTOR).

Copy link
Contributor

@spycrab spycrab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sensible to me but I'm a bit out of the loop so take it with a grain of salt. (Although the change is so minimal I doubt it will break anything)

@leoetlino leoetlino merged commit 18174d3 into dolphin-emu:master Apr 24, 2021
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants