From fc61c0685c80ebbea1cb5436a28d4300dcec6888 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Tue, 7 Aug 2012 08:49:21 +0200 Subject: [PATCH] Small cmake tweaks --- CMakeLists.txt | 5 +++++ backends/twitter/CMakeLists.txt | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 73d2aba7..9acc28ce 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 d090a5a0..39622d44 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)