diff --git a/CMakeLists.txt b/CMakeLists.txt index 73d2aba76d2ae47d095c3b8b6a7c63ccd9f69a67..9acc28ce37642d8810acb9e9f7e3669d8a78f110 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,12 +173,17 @@ if (PROTOBUF_FOUND) # message("Libyahoo2 plugin : no (install libyahoo2-devel)") # endif() + message("Swiften plugin : yes") + message("Twitter plugin : yes") + else() message("Network plugins : no (install libprotobuf-dev)") message("Libpurple plugin : no (install libpurple and libprotobuf-dev)") message("IRC plugin : no (install libircclient-qt and libprotobuf-dev)") message("Frotz plugin : no (install libprotobuf-dev)") message("SMSTools3 plugin : no (install libprotobuf-dev)") + message("Swiften plugin : no (install libprotobuf-dev)") + message("Twitter plugin : no (install libprotobuf-dev)") endif() if (LOG4CXX_FOUND) diff --git a/backends/twitter/CMakeLists.txt b/backends/twitter/CMakeLists.txt index d090a5a08d523a4fb75ca75352189fa18a73e146..39622d44313918e9fd54857391a2f03f0398c322 100644 --- a/backends/twitter/CMakeLists.txt +++ b/backends/twitter/CMakeLists.txt @@ -1,6 +1,8 @@ include_directories (${libtransport_SOURCE_DIR}/backends/twitter/libtwitcurl) FILE(GLOB SRC *.cpp libtwitcurl/*.cpp Requests/*.cpp) -add_executable(spectrum_twitter_backend ${SRC}) +add_executable(spectrum2_twitter_backend ${SRC}) #add_executable(parser TwitterResponseParser.cpp test.cpp) -target_link_libraries(spectrum_twitter_backend curl transport pthread sqlite3 ${Boost_LIBRARIES} ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES}) +target_link_libraries(spectrum2_twitter_backend curl transport pthread ${Boost_LIBRARIES} ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES}) #target_link_libraries(parser curl transport pthread sqlite3 ${Boost_LIBRARIES} ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES}) + +INSTALL(TARGETS spectrum2_twitter_backend RUNTIME DESTINATION bin)