Removed soap options from cmake build

There is already option to enable or disable it in configs
This feature should come with full mangos package
This commit is contained in:
sanctum32 2015-02-04 11:37:27 +00:00 committed by Antz
parent 089bf9dc29
commit b03cc75293

View file

@ -26,25 +26,21 @@ set(EXECUTABLE_SRCS
RASocket.h RASocket.h
WorldRunnable.cpp WorldRunnable.cpp
WorldRunnable.h WorldRunnable.h
MaNGOSsoap.cpp
MaNGOSsoap.h
soapC.cpp
soapH.h
soapServer.cpp
soapStub.h
) )
if(SOAP)
LIST(APPEND EXECUTABLE_SRCS
MaNGOSsoap.cpp
MaNGOSsoap.h
soapC.cpp
soapH.h
soapServer.cpp
soapStub.h
)
endif()
if(WIN32) if(WIN32)
# add resource file to windows build # add resource file to windows build
set(EXECUTABLE_SRCS ${EXECUTABLE_SRCS} mangosd.rc) set(EXECUTABLE_SRCS ${EXECUTABLE_SRCS} mangosd.rc)
endif() endif()
include_directories( include_directories(
${CMAKE_SOURCE_DIR}/dep/include/gsoap
${CMAKE_SOURCE_DIR}/src/shared ${CMAKE_SOURCE_DIR}/src/shared
${CMAKE_SOURCE_DIR}/src/framework ${CMAKE_SOURCE_DIR}/src/framework
${CMAKE_SOURCE_DIR}/src/game/ ${CMAKE_SOURCE_DIR}/src/game/
@ -75,10 +71,6 @@ if(SCRIPT_LIB_SD2)
include_directories(${CMAKE_SOURCE_DIR}/src/modules/SD2) include_directories(${CMAKE_SOURCE_DIR}/src/modules/SD2)
endif() endif()
if(SOAP)
include_directories(${CMAKE_SOURCE_DIR}/dep/include/gsoap)
endif()
if(POSTGRESQL) if(POSTGRESQL)
include_directories(${PGSQL_INCLUDE_DIR}) include_directories(${PGSQL_INCLUDE_DIR})
else() else()