Files @ ab20eefd6f16
Branch filter:

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

Daniel Henninger
Downgraded PQXX API used due to the 2.6 series on most modern linux distros.
Implemented most of the other functions.
cmake_minimum_required(VERSION 2.6)
FILE(GLOB SRC *.cpp)

ADD_EXECUTABLE(spectrum2_libpurple_backend ${SRC})

if(NOT WIN32)
target_link_libraries(spectrum2_libpurple_backend ${PURPLE_LIBRARY} ${GLIB2_LIBRARIES} ${EVENT_LIBRARIES} transport-plugin pthread)
else()
target_link_libraries(spectrum2_libpurple_backend ${PURPLE_LIBRARY} ${GLIB2_LIBRARIES} ${EVENT_LIBRARIES} transport-plugin)
endif()

INSTALL(TARGETS spectrum2_libpurple_backend RUNTIME DESTINATION bin)