From 0b419d526ced4826dd9e59e3d04ef97fd33983f6 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 1 Dec 2016 09:06:11 -0500 Subject: Switched from twitcurl to libtwitter++ Also updated verbly to remove dependence on json submodule, replaced the UNIX-dependent sleep call with the sleep functionality in the C++ standard library, and changed the tweet delay from 3 hours to 1 hour. --- CMakeLists.txt | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a10537e..82fcc44 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,19 +1,13 @@ cmake_minimum_required (VERSION 3.1) project (wordplay) -find_package(PkgConfig) -pkg_check_modules(sqlite3 sqlite3 REQUIRED) - -add_subdirectory(vendor/twitcurl/libtwitcurl) -include_directories(vendor/twitcurl/libtwitcurl) - +add_subdirectory(vendor/libtwittercpp) add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) -include_directories(vendor/yaml-cpp/include) - add_subdirectory(vendor/verbly) -include_directories(vendor/verbly/lib) + +include_directories(vendor/verbly/lib vendor/libtwittercpp/src vendor/yaml-cpp/include) add_executable(wordplay wordplay.cpp) set_property(TARGET wordplay PROPERTY CXX_STANDARD 11) set_property(TARGET wordplay PROPERTY CXX_STANDARD_REQUIRED ON) -target_link_libraries(wordplay verbly ${sqlite3_LIBRARIES} yaml-cpp twitcurl curl) +target_link_libraries(wordplay verbly twitter++ yaml-cpp) -- cgit 1.4.1