From 6ed6370d097b41e73906d258e440b4eb0d0fe671 Mon Sep 17 00:00:00 2001 From: Ayase <137056643@qq.com> Date: Tue, 15 May 2018 23:45:30 +0800 Subject: [PATCH] add some define in the cmake. --- cmake/after_load_conf.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/after_load_conf.cmake b/cmake/after_load_conf.cmake index c7fcfba..2e682cb 100644 --- a/cmake/after_load_conf.cmake +++ b/cmake/after_load_conf.cmake @@ -1,9 +1,11 @@ add_subdirectory(${CMAKE_MOD_ELUNA_ENGINE_DIR}/lualib) add_definitions(-DELUNA) +add_definitions(-DAZEROTHCORE) +add_definitions(-DWOTLK) CU_ADD_HOOK(BEFORE_GAME_LIBRARY "${CMAKE_MOD_ELUNA_ENGINE_DIR}/cmake/before_gs_install.cmake") CU_ADD_HOOK(AFTER_GAME_LIBRARY "${CMAKE_MOD_ELUNA_ENGINE_DIR}/cmake/after_gs_install.cmake") CU_ADD_HOOK(BEFORE_SCRIPTS_LIBRARY "${CMAKE_MOD_ELUNA_ENGINE_DIR}/cmake/before_script_install.cmake") CU_ADD_HOOK(AFTER_WORLDSERVER_CMAKE "${CMAKE_MOD_ELUNA_ENGINE_DIR}/cmake/after_ws_install.cmake") -message("[Eluna Module] LuaEngine is enable!") +message("** [Eluna Module] LuaEngine is enable!")