diff options
| author | win32 <> | 2010-01-21 08:23:30 +0200 |
|---|---|---|
| committer | win32 <> | 2010-01-21 08:23:30 +0200 |
| commit | ce620223eba6857226e85c128f82546f89d3a760 (patch) | |
| tree | 2edd3b767214d0f76a17fec1475ae386ac21bc53 | |
| parent | e21081172cb342b976a07a1baa72675ae516cfc8 (diff) | |
restore work scripts in *nix system
--HG--
branch : trunk
| -rw-r--r-- | CMakeLists.txt | 7 | ||||
| -rw-r--r-- | src/game/CMakeLists.txt | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d0627f948f9..11af5c7187a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,6 +88,13 @@ IF(DO_MYSQL) ADD_DEFINITIONS(-DDO_MYSQL) ENDIF(DO_MYSQL) +if(DO_SCRIPTS) +message("* With Trinity Scripts") +ADD_DEFINITIONS(-DDO_SCRIPTS) +else (DO_SCRIPTS) +message("* Without Trinity Scripts") +endif(DO_SCRIPTS) + message("-- Miscellaneus options:") if(DO_CLI) diff --git a/src/game/CMakeLists.txt b/src/game/CMakeLists.txt index 1b02b4d93b3..206651606f2 100644 --- a/src/game/CMakeLists.txt +++ b/src/game/CMakeLists.txt @@ -853,6 +853,8 @@ if (DO_SCRIPTS) ../scripts/world/npcs_special.cpp ../scripts/world/npc_taxi.cpp ) + +add_definitions(-D_TRINITY_SCRIPT_CONFIG='"${CONF_DIR}/trinitycore.conf"') endif (DO_SCRIPTS) add_library(game STATIC ${game_STAT_SRCS}) |
