summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-11-14 13:27:55 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2022-11-14 13:27:55 -0500
commite1a9a5943990db19618af5a4ee4f675211f31491 (patch)
treefe7b8ba3f1b45203bbf0aad82f604566af3708ed /CMakeLists.txt
parentda3bc860f66d34f233028e819beee32dd1c43dd8 (diff)
downloadsap-e1a9a5943990db19618af5a4ee4f675211f31491.tar.gz
sap-e1a9a5943990db19618af5a4ee4f675211f31491.tar.bz2
sap-e1a9a5943990db19618af5a4ee4f675211f31491.zip
Bot now posts to Mastodon instead of Twitter
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
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)
10pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) 10pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED)
11 11
12add_subdirectory(vendor/rawr-ebooks EXCLUDE_FROM_ALL) 12add_subdirectory(vendor/rawr-ebooks EXCLUDE_FROM_ALL)
13add_subdirectory(vendor/mastodonpp)
13 14
14include_directories( 15include_directories(
15 ${FFMPEG_INCLUDE_DIRS} 16 ${FFMPEG_INCLUDE_DIRS}
16 vendor/rawr-ebooks 17 vendor/rawr-ebooks
17 vendor/rawr-ebooks/vendor/libtwittercpp/src 18 vendor/mastodonpp/include
19 vendor/json
18 ${yaml-cpp_INCLUDE_DIRS} 20 ${yaml-cpp_INCLUDE_DIRS}
19 ${GraphicsMagick_INCLUDE_DIRS}) 21 ${GraphicsMagick_INCLUDE_DIRS})
20 22
@@ -23,12 +25,12 @@ link_directories(
23 ${GraphicsMagick_LIBRARY_DIRS}) 25 ${GraphicsMagick_LIBRARY_DIRS})
24 26
25add_executable(sap sap.cpp director.cpp designer.cpp main.cpp) 27add_executable(sap sap.cpp director.cpp designer.cpp main.cpp)
26set_property(TARGET sap PROPERTY CXX_STANDARD 11) 28set_property(TARGET sap PROPERTY CXX_STANDARD 17)
27set_property(TARGET sap PROPERTY CXX_STANDARD_REQUIRED ON) 29set_property(TARGET sap PROPERTY CXX_STANDARD_REQUIRED ON)
28 30
29target_link_libraries(sap 31target_link_libraries(sap
30 rawr 32 rawr
31 twitter++ 33 mastodonpp
32 ${FFMPEG_LIBRARIES} 34 ${FFMPEG_LIBRARIES}
33 ${GraphicsMagick_LIBRARIES} 35 ${GraphicsMagick_LIBRARIES}
34 ${yaml-cpp_LIBRARIES}) 36 ${yaml-cpp_LIBRARIES})