aboutsummaryrefslogtreecommitdiff
path: root/src/version.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/version.cpp')
-rw-r--r--src/version.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/version.cpp b/src/version.cpp
index e5de8a61e..83b0a4c40 100644
--- a/src/version.cpp
+++ b/src/version.cpp
@@ -20,19 +20,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "version.h"
#include "config.h"
-#ifdef USE_CMAKE_CONFIG_H
-
-#include "cmake_config_githash.h"
-
const char *minetest_version_simple = CMAKE_VERSION_STRING;
const char *minetest_version_hash = CMAKE_VERSION_GITHASH;
+
+#ifdef USE_CMAKE_CONFIG_H
const char *minetest_build_info =
"VER=" CMAKE_VERSION_GITHASH " " CMAKE_BUILD_INFO;
-
+#elif defined(ANDROID)
+const char *minetest_build_info = "android jni";
#else
-
-const char *minetest_version_simple = "unknown";
-const char *minetest_version_hash = "unknown";
const char *minetest_build_info = "non-cmake";
#endif