From 4f88ef857af5a4356b2ea6c069416c9931d47ab2 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 4 Dec 2016 20:00:43 -0500 Subject: Switched from twitcurl to libtwitter++ Also replaced usage of the C randomization interface with the C++ randomization interface, and replaced the UNIX-reliant sleep() call with the C++ thread interface. Also made some other style-related code changes. --- CMakeLists.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index be6cc89..793ae7e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,15 +1,12 @@ cmake_minimum_required (VERSION 3.1) project (blessed) -find_package(PkgConfig) -pkg_check_modules(sqlite3 sqlite3 REQUIRED) - -add_subdirectory(vendor/twitcurl/libtwitcurl) +add_subdirectory(vendor/libtwittercpp) add_subdirectory(vendor/verbly) add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) -include_directories(vendor/twitcurl/libtwitcurl ${sqlite3_INCLUDE_DIR} vendor/verbly/lib vendor/yaml-cpp/include) +include_directories(vendor/libtwittercpp/src vendor/verbly/lib vendor/yaml-cpp/include) add_executable(blessed blessed.cpp) set_property(TARGET blessed PROPERTY CXX_STANDARD 11) set_property(TARGET blessed PROPERTY CXX_STANDARD_REQUIRED ON) -target_link_libraries(blessed ${sqlite3_LIBRARIES} yaml-cpp twitcurl curl verbly) +target_link_libraries(blessed twitter++ yaml-cpp verbly) -- cgit 1.4.1