From 3e003fd1a3753e414bcc9eafc0bbc89466573bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hauke=20Z=C3=BChl?= Date: Sat, 30 Apr 2016 09:43:13 +0200 Subject: [PATCH] Added needed libs --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index aa04452..d27ad5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,8 +59,11 @@ set(LIBS ${LIBS} ${CURL_LIBRARIES}) set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig") include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) + add_library(tgbotpp SHARED ${SOURCES}) +target_link_libraries(tgbotpp ${LIBS}) install(TARGETS tgbotpp DESTINATION lib) install(FILES ${HEADERS} DESTINATION include/Telegram) install(FILES tgbotpp.pc DESTINATION "${INSTALL_PKGCONFIG_DIR}") +