diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-11-14 13:27:55 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-11-14 13:27:55 -0500 |
commit | e1a9a5943990db19618af5a4ee4f675211f31491 (patch) | |
tree | fe7b8ba3f1b45203bbf0aad82f604566af3708ed /CMakeLists.txt | |
parent | da3bc860f66d34f233028e819beee32dd1c43dd8 (diff) | |
download | sap-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.txt | 8 |
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) | |||
10 | pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) | 10 | pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) |
11 | 11 | ||
12 | add_subdirectory(vendor/rawr-ebooks EXCLUDE_FROM_ALL) | 12 | add_subdirectory(vendor/rawr-ebooks EXCLUDE_FROM_ALL) |
13 | add_subdirectory(vendor/mastodonpp) | ||
13 | 14 | ||
14 | include_directories( | 15 | include_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 | ||
25 | add_executable(sap sap.cpp director.cpp designer.cpp main.cpp) | 27 | add_executable(sap sap.cpp director.cpp designer.cpp main.cpp) |
26 | set_property(TARGET sap PROPERTY CXX_STANDARD 11) | 28 | set_property(TARGET sap PROPERTY CXX_STANDARD 17) |
27 | set_property(TARGET sap PROPERTY CXX_STANDARD_REQUIRED ON) | 29 | set_property(TARGET sap PROPERTY CXX_STANDARD_REQUIRED ON) |
28 | 30 | ||
29 | target_link_libraries(sap | 31 | target_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}) |