diff options
Diffstat (limited to 'src/server/authserver')
| -rw-r--r-- | src/server/authserver/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/server/authserver/Main.cpp | 6 | ||||
| -rw-r--r-- | src/server/authserver/authserver.rc | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/src/server/authserver/CMakeLists.txt b/src/server/authserver/CMakeLists.txt index 7c76df5d06c..f6d99de5271 100644 --- a/src/server/authserver/CMakeLists.txt +++ b/src/server/authserver/CMakeLists.txt @@ -73,8 +73,6 @@ add_executable(authserver ${authserver_PCH_SRC} ) -add_dependencies(authserver revision.h) - if( NOT WIN32 ) set_target_properties(authserver PROPERTIES COMPILE_DEFINITIONS _TRINITY_REALM_CONFIG="${CONF_DIR}/authserver.conf" diff --git a/src/server/authserver/Main.cpp b/src/server/authserver/Main.cpp index 06d20658eb0..7342a638958 100644 --- a/src/server/authserver/Main.cpp +++ b/src/server/authserver/Main.cpp @@ -33,7 +33,7 @@ #include "AppenderDB.h" #include "ProcessPriority.h" #include "RealmList.h" -#include "SystemConfig.h" +#include "Revision.h" #include "Util.h" #include <iostream> #include <boost/program_options.hpp> @@ -103,7 +103,7 @@ int main(int argc, char** argv) sLog->RegisterAppender<AppenderDB>(); sLog->Initialize(nullptr); - TC_LOG_INFO("server.authserver", "%s (authserver)", _FULLVERSION); + TC_LOG_INFO("server.authserver", "%s (authserver)", Revision::GetFullVersion().c_str()); TC_LOG_INFO("server.authserver", "<Ctrl-C> to stop.\n"); TC_LOG_INFO("server.authserver", "Using configuration file %s.", configFile.c_str()); TC_LOG_INFO("server.authserver", "Using SSL version: %s (library: %s)", OPENSSL_VERSION_TEXT, SSLeay_version(SSLEAY_VERSION)); @@ -293,7 +293,7 @@ variables_map GetConsoleArguments(int argc, char** argv, std::string& configFile if (variablesMap.count("help")) std::cout << all << "\n"; else if (variablesMap.count("version")) - std::cout << _FULLVERSION << "\n"; + std::cout << Revision::GetFullVersion() << "\n"; return variablesMap; } diff --git a/src/server/authserver/authserver.rc b/src/server/authserver/authserver.rc index e0d972d9351..ca8fc9f031f 100644 --- a/src/server/authserver/authserver.rc +++ b/src/server/authserver/authserver.rc @@ -17,7 +17,7 @@ */ #include "resource.h" -#include "revision.h" +#include "revision_data.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// |
