From e1a9a5943990db19618af5a4ee4f675211f31491 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 14 Nov 2022 13:27:55 -0500 Subject: Bot now posts to Mastodon instead of Twitter --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index efafdaf..13fb6d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,11 +10,13 @@ pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) add_subdirectory(vendor/rawr-ebooks EXCLUDE_FROM_ALL) +add_subdirectory(vendor/mastodonpp) include_directories( ${FFMPEG_INCLUDE_DIRS} vendor/rawr-ebooks - vendor/rawr-ebooks/vendor/libtwittercpp/src + vendor/mastodonpp/include + vendor/json ${yaml-cpp_INCLUDE_DIRS} ${GraphicsMagick_INCLUDE_DIRS}) @@ -23,12 +25,12 @@ link_directories( ${GraphicsMagick_LIBRARY_DIRS}) add_executable(sap sap.cpp director.cpp designer.cpp main.cpp) -set_property(TARGET sap PROPERTY CXX_STANDARD 11) +set_property(TARGET sap PROPERTY CXX_STANDARD 17) set_property(TARGET sap PROPERTY CXX_STANDARD_REQUIRED ON) target_link_libraries(sap rawr - twitter++ + mastodonpp ${FFMPEG_LIBRARIES} ${GraphicsMagick_LIBRARIES} ${yaml-cpp_LIBRARIES}) -- cgit 1.4.1