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,18 +26,13 @@ set(EXECUTABLE_SRCS
RASocket.h RASocket.h
WorldRunnable.cpp WorldRunnable.cpp
WorldRunnable.h WorldRunnable.h
)
if(SOAP)
LIST(APPEND EXECUTABLE_SRCS
MaNGOSsoap.cpp MaNGOSsoap.cpp
MaNGOSsoap.h MaNGOSsoap.h
soapC.cpp soapC.cpp
soapH.h soapH.h
soapServer.cpp soapServer.cpp
soapStub.h soapStub.h
) )
endif()
if(WIN32) if(WIN32)
# add resource file to windows build # add resource file to windows build
@ -45,6 +40,7 @@ if(WIN32)
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()