CMake: Fix configure defines
This commit is contained in:
@@ -144,7 +144,6 @@ char *CrashLog::LogOpenTTDVersion(char *buffer, const char *last) const
|
||||
" Endian: %s\n"
|
||||
" Dedicated: %s\n"
|
||||
" Build date: %s\n"
|
||||
" Configure: %s\n"
|
||||
" Defines: %s\n\n",
|
||||
_openttd_revision,
|
||||
_openttd_revision_modified,
|
||||
@@ -165,7 +164,6 @@ char *CrashLog::LogOpenTTDVersion(char *buffer, const char *last) const
|
||||
"no",
|
||||
#endif
|
||||
_openttd_build_date,
|
||||
_openttd_build_configure,
|
||||
_openttd_build_configure_defines
|
||||
);
|
||||
}
|
||||
|
||||
@@ -45,16 +45,10 @@ const char _openttd_revision[] = "${REV_VERSION}";
|
||||
*/
|
||||
const char _openttd_build_date[] = __DATE__ " " __TIME__;
|
||||
|
||||
|
||||
/**
|
||||
* The configure invocation used to build OpenTTD
|
||||
*/
|
||||
const char _openttd_build_configure[] = "!!CONFIGURE_INVOCATION!!";
|
||||
|
||||
/**
|
||||
* The configure defines used to build OpenTTD
|
||||
*/
|
||||
const char _openttd_build_configure_defines[] = "!!CONFIGURE_DEFINES!!";
|
||||
const char _openttd_build_configure_defines[] = "${CONFIGURE_DEFINES}";
|
||||
|
||||
/**
|
||||
* The git revision hash of this version.
|
||||
|
||||
@@ -14,7 +14,6 @@ extern const char _openttd_revision[];
|
||||
extern const char _openttd_build_date[];
|
||||
extern const char _openttd_revision_hash[];
|
||||
extern const char _openttd_revision_year[];
|
||||
extern const char _openttd_build_configure[];
|
||||
extern const char _openttd_build_configure_defines[];
|
||||
extern const byte _openttd_revision_modified;
|
||||
extern const byte _openttd_revision_tagged;
|
||||
|
||||
Reference in New Issue
Block a user