Eluna fix TC build

This commit is contained in:
Rochet2
2014-10-02 21:50:35 +03:00
parent 644200fa50
commit 95b103d285

View File

@@ -25,7 +25,13 @@ include_directories(
${OPENSSL_INCLUDE_DIR}
)
if(${CMAKE_PROJECT_NAME} STREQUAL "Trinity")
add_library(LuaEngine STATIC
${LuaEngine_STAT_SRCS}
${game_STAT_SRCS}
${game_STAT_PCH_SRC}
)
if( ${CMAKE_PROJECT_NAME} STREQUAL "TrinityCore" )
include_directories(
${CMAKE_SOURCE_DIR}/dep/recastnavigation/Detour
${CMAKE_SOURCE_DIR}/dep/recastnavigation/Detour/Include
@@ -152,12 +158,6 @@ elseif(${CMAKE_PROJECT_NAME} STREQUAL "MaNGOS")
)
endif()
add_library(LuaEngine STATIC
${LuaEngine_STAT_SRCS}
${game_STAT_SRCS}
${game_STAT_PCH_SRC}
)
#if( WIN32 )
# if ( MSVC )
# add_custom_command(TARGET LuaEngine