aboutsummaryrefslogtreecommitdiff
path: root/src/cmake_config.h.in
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2022-08-02 21:34:17 +0200
committerGitHub <noreply@github.com>2022-08-02 21:34:17 +0200
commita81259d19a434752614e5a430fdebf86f07c1cfc (patch)
treefcb83c0aa14c645c0050d683b54131bc598556f3 /src/cmake_config.h.in
parentf22d40975e907d9f0e84b67b21256953333a6cc8 (diff)
downloadminetest-a81259d19a434752614e5a430fdebf86f07c1cfc.tar.xz
Run Minetest update checker on startup (#7629)
This feature is enabled by default for non-Android release builds. Package maintainers may use -DENABLE_UPDATE_CHECKER=0 to disable it. Co-authored-by: rubenwardy <rw@rubenwardy.com> Co-authored-by: sfan5 <sfan5@live.de>
Diffstat (limited to 'src/cmake_config.h.in')
-rw-r--r--src/cmake_config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmake_config.h.in b/src/cmake_config.h.in
index b1298165e..17b70e268 100644
--- a/src/cmake_config.h.in
+++ b/src/cmake_config.h.in
@@ -15,6 +15,8 @@
#define BUILD_TYPE "@CMAKE_BUILD_TYPE@"
#define ICON_DIR "@ICONDIR@"
#cmakedefine01 RUN_IN_PLACE
+#cmakedefine01 DEVELOPMENT_BUILD
+#cmakedefine01 ENABLE_UPDATE_CHECKER
#cmakedefine01 USE_GETTEXT
#cmakedefine01 USE_CURL
#cmakedefine01 USE_SOUND