Files @ 5002dce4a922
Branch filter:

Location: libtransport.git/backends/swiften/CMakeLists.txt

moyamo
Prevent python plugin from crashing with InvalidWireType exception

Too much data was passed to wrapper.parseFromString resulting in it
trying to read another tag even after the WrapperMessage has ended
cmake_minimum_required(VERSION 2.6)

FILE(GLOB SRC *.cpp)

ADD_EXECUTABLE(spectrum2_swiften_backend ${SRC})

IF (NOT WIN32)
target_link_libraries(spectrum2_swiften_backend transport pthread ${Boost_LIBRARIES} ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES})
else()
target_link_libraries(spectrum2_swiften_backend transport ${Boost_LIBRARIES} ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES})
endif()

INSTALL(TARGETS spectrum2_swiften_backend RUNTIME DESTINATION bin)