mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Make it possible to enable auto-updates by default with CMake builds
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 commit is contained in:
parent
14959a1087
commit
5f355690e0
@ -17,6 +17,8 @@ project(dolphin-emu)
|
|||||||
# unique name here.
|
# unique name here.
|
||||||
set(DISTRIBUTOR "None" CACHE STRING "Name of the distributor.")
|
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.")
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE AND NOT ANDROID)
|
if(UNIX AND NOT APPLE AND NOT ANDROID)
|
||||||
option(ENABLE_X11 "Enables X11 Support" ON)
|
option(ENABLE_X11 "Enables X11 Support" ON)
|
||||||
endif()
|
endif()
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
#define SCM_BRANCH_STR "${DOLPHIN_WC_BRANCH}"
|
#define SCM_BRANCH_STR "${DOLPHIN_WC_BRANCH}"
|
||||||
#define SCM_IS_MASTER ${DOLPHIN_WC_IS_STABLE}
|
#define SCM_IS_MASTER ${DOLPHIN_WC_IS_STABLE}
|
||||||
#define SCM_DISTRIBUTOR_STR "${DISTRIBUTOR}"
|
#define SCM_DISTRIBUTOR_STR "${DISTRIBUTOR}"
|
||||||
#define SCM_UPDATE_TRACK_STR ""
|
#define SCM_UPDATE_TRACK_STR "${DOLPHIN_DEFAULT_UPDATE_TRACK}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user