diff --git a/CMakeLists.txt b/CMakeLists.txt index ca4bf244..923f8d68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ project(MaNGOS) set(MANGOS_VERSION 0.21) set(MANGOS_EXP "CLASSIC") - +add_definitions(-DCLASSIC) # CMake policies cmake_minimum_required(VERSION 2.8) # Until CMake 3.0 is the standard @@ -142,6 +142,8 @@ else() set(GIT_REVISION "Git not found") endif() +set(DEFINITIONS ${DEFINITIONS} CLASSIC) + message(STATUS "MaNGOS-Core revision : ${GIT_REVISION}") message(STATUS "Install server to : ${CMAKE_INSTALL_PREFIX}") message(STATUS "Install configs to : ${CONF_INSTALL_DIR}") diff --git a/src/game/Server/SharedDefines.h b/src/game/Server/SharedDefines.h index 984ab065..9def4402 100644 --- a/src/game/Server/SharedDefines.h +++ b/src/game/Server/SharedDefines.h @@ -31,7 +31,6 @@ #ifndef MANGOS #define MANGOS #endif /* MANGOS */ -#define CLASSIC enum Gender {