Fixes to actually use the cmake defs added in the previous revision

This commit is contained in:
SecretsOTheP 2013-11-18 23:54:24 -05:00
parent 6e520c8476
commit 4a0e07a54c

View File

@ -119,11 +119,17 @@ OPTION(EQEMU_ENABLE_BOTS "Enable Bots" OFF)
#Disable entire _mlog system (excludes trade/command logs)
OPTION(DISABLE_LOGSYS "Enable Logging INI System" OFF)
#Disable entire _mlog system (excludes trade/command logs)
OPTION(DISABLE_LOGSYS "Enable Logging INI System" OFF)
#Enable GM Command log system
OPTION(COMMANDS_LOGGING "Enable GM Command logs" ON)
IF(COMMANDS_LOGGING)
ADD_DEFINITIONS(-DCOMMANDS_LOGGING)
ENDIF(COMMANDS_LOGGING)
IF(DISABLE_LOGSYS)
ADD_DEFINITIONS(-DDISABLE_LOGSYS)
ENDIF(DISABLE_LOGSYS)
IF(EQEMU_ENABLE_BOTS)
ADD_DEFINITIONS(-DBOTS)
ENDIF(EQEMU_ENABLE_BOTS)