From 4aedd681a0ddf511f3bb4254e2960fce7f400b04 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 27 Nov 2016 16:49:48 -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 | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index d57c96a..088e566 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,17 +1,12 @@ -cmake_minimum_required (VERSION 2.6) +cmake_minimum_required (VERSION 3.1) project (nancy) -set(CMAKE_BUILD_TYPE Debug) - -add_subdirectory(vendor/twitcurl/libtwitcurl) +add_subdirectory(vendor/libtwittercpp) add_subdirectory(vendor/verbly) add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) -find_package(PkgConfig) -pkg_check_modules(sqlite3 sqlite3 REQUIRED) - -include_directories(vendor/yaml-cpp/include vendor/twitcurl/libtwitcurl vendor/verbly/lib) +include_directories(vendor/yaml-cpp/include vendor/libtwittercpp/src vendor/verbly/lib) add_executable(nancy nancy.cpp) set_property(TARGET nancy PROPERTY CXX_STANDARD 11) set_property(TARGET nancy PROPERTY CXX_STANDARD_REQUIRED ON) -target_link_libraries(nancy yaml-cpp twitcurl curl verbly ${sqlite3_LIBRARIES}) +target_link_libraries(nancy yaml-cpp twitter++ verbly) -- cgit 1.4.1