From 793559182f0ed010ca2619e68c36fece491c70e0 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 27 Nov 2016 14:52:06 -0500 Subject: Switched from twitcurl to libtwitter++ Also updated verbly to remove dependence on json submodule, replaced uses of the C random API with the C++ random API, and replaced the UNIX-dependent sleep call with the sleep functionality in the C++ standard library. --- CMakeLists.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 266c9d0..e6a8aa7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,15 +1,12 @@ cmake_minimum_required (VERSION 3.1) project (furries) -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(furries furries.cpp) set_property(TARGET furries PROPERTY CXX_STANDARD 11) set_property(TARGET furries PROPERTY CXX_STANDARD_REQUIRED ON) -target_link_libraries(furries verbly ${sqlite3_LIBRARIES} yaml-cpp twitcurl curl) +target_link_libraries(furries verbly twitter++ yaml-cpp) -- cgit 1.4.1