From 8b8905d528e0fcd5f88664d0a0958883951b0c2e Mon Sep 17 00:00:00 2001 From: Niam5 Date: Thu, 8 Aug 2024 14:01:15 -0700 Subject: [PATCH] Update for new Eluna defines scheme --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 78aa8700dd..f2f5e207ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -444,12 +444,12 @@ if(MSVC) endif() if(BUILD_ELUNA) - set_property(TARGET game shared mangosd APPEND PROPERTY COMPILE_DEFINITIONS BUILD_ELUNA CMANGOS TBC ELUNA_CMANGOS ELUNA_EXPANSION=1) + set_property(TARGET game shared mangosd APPEND PROPERTY COMPILE_DEFINITIONS BUILD_ELUNA ELUNA_CMANGOS ELUNA_EXPANSION=1) set_property(TARGET game mangosd APPEND PROPERTY INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/src/game/LuaEngine/hooks) set_property(TARGET game APPEND PROPERTY LINK_LIBRARIES ${LIBRARY_NAME} PRIVATE lualib) set_property(TARGET mangosd APPEND PROPERTY LINK_LIBRARIES ${EXECUTABLE_NAME} lualib) if(BUILD_PLAYERBOTS) - set_property(TARGET playerbots APPEND PROPERTY COMPILE_DEFINITIONS BUILD_ELUNA TBC ELUNA_CMANGOS ELUNA_EXPANSION=1) + set_property(TARGET playerbots APPEND PROPERTY COMPILE_DEFINITIONS BUILD_ELUNA ELUNA_CMANGOS ELUNA_EXPANSION=1) set_property(TARGET playerbots APPEND PROPERTY INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/src/game/LuaEngine/hooks) set_property(TARGET playerbots APPEND PROPERTY LINK_LIBRARIES ${LIBRARY_NAME} PRIVATE lualib) endif()