1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix android build using hardcoded path for data instead of using the one fetched by android api on init.

Fix android missing version information
This commit is contained in:
sapier 2014-10-01 22:18:29 +02:00
parent 47abe25fe7
commit b37bff72f1
2 changed files with 6 additions and 3 deletions

View file

@ -74,5 +74,10 @@
#define VERSION_EXTRA_STRING CMAKE_VERSION_EXTRA_STRING
#endif
#ifdef __ANDROID__
#include "android_version.h"
#define VERSION_STRING CMAKE_VERSION_STRING
#endif
#endif