Eluna fix TC build
This commit is contained in:
@@ -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
|
||||
@@ -136,7 +142,7 @@ if(${CMAKE_PROJECT_NAME} STREQUAL "Trinity")
|
||||
)
|
||||
|
||||
add_dependencies(LuaEngine game)
|
||||
elseif(${CMAKE_PROJECT_NAME} STREQUAL "MaNGOS")
|
||||
elseif( ${CMAKE_PROJECT_NAME} STREQUAL "MaNGOS" )
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src/shared
|
||||
${CMAKE_SOURCE_DIR}/src/framework
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user