Skip to content

Commit 4910c68

Browse files
committed
Drop Swiften dependency from backends
1 parent 86fb983 commit 4910c68

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+676
-1003
lines changed

CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ option(ENABLE_SMSTOOLS3 "Build SMSTools3 plugin" ON)
4141
option(ENABLE_XMPP "Build XMPP plugin" ON)
4242
option(ENABLE_TWITTER "Build Twitter plugin" ON)
4343
option(ENABLE_WEBUI "Build Web UI" ON)
44-
44+
option(ENABLE_SLACK_FRONTEND "Build Slack frontend" OFF)
4545
option(ENABLE_DOCS "Build Docs" ON)
4646
# option(ENABLE_LOG "Build with logging using Log4cxx" ON)
4747
option(ENABLE_TESTS "Build Tests using CppUnit" OFF)
@@ -99,6 +99,8 @@ if(WIN32)
9999
link_directories("$ENV{CMAKE_PREFIX_PATH}/lib")
100100
endif(WIN32)
101101

102+
find_package( Threads )
103+
102104
set(Boost_FIND_QUIETLY ON)
103105
find_package(Boost COMPONENTS program_options date_time system filesystem regex thread locale REQUIRED)
104106

backends/frotz/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ file(GLOB SRC *.c *.cpp)
55
add_executable(spectrum2_frotz_backend ${SRC})
66

77

8-
target_link_libraries(spectrum2_frotz_backend transport pthread ${Boost_LIBRARIES} ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES})
8+
target_link_libraries(spectrum2_frotz_backend transport ${Boost_LIBRARIES} ${LOG4CXX_LIBRARIES})
99

1010
install(TARGETS spectrum2_frotz_backend RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR})

0 commit comments

Comments
 (0)