diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-23 11:09:58 +0000 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-23 11:09:58 +0000 |
commit | a76e81ee8bcbad87c9eb58cdb25452cae65bd0c7 (patch) | |
tree | 4f677cd679bb7374b022238d55d49dba81b7313f /CMakeLists.txt | |
parent | 31770500a918bccf7b624262bc7d444cc2dd8a1d (diff) | |
download | difference-a76e81ee8bcbad87c9eb58cdb25452cae65bd0c7.tar.gz difference-a76e81ee8bcbad87c9eb58cdb25452cae65bd0c7.tar.bz2 difference-a76e81ee8bcbad87c9eb58cdb25452cae65bd0c7.zip |
Bot is now a Mastodon bot
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e444b73..646200b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,21 +1,26 @@ | |||
1 | cmake_minimum_required (VERSION 3.1) | 1 | cmake_minimum_required (VERSION 3.1) |
2 | project (difference) | 2 | project (difference) |
3 | 3 | ||
4 | add_subdirectory(vendor/libtwittercpp) | 4 | add_subdirectory(vendor/curlcpp) |
5 | add_subdirectory(vendor/verbly) | 5 | add_subdirectory(vendor/verbly) |
6 | 6 | ||
7 | find_package(PkgConfig) | 7 | find_package(PkgConfig) |
8 | pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) | 8 | pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) |
9 | pkg_check_modules(mastodonpp mastodonpp REQUIRED) | ||
9 | pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) | 10 | pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) |
10 | 11 | ||
11 | include_directories( | 12 | include_directories( |
12 | vendor/libtwittercpp/src | 13 | ${CURLCPP_SOURCE_DIR}/include |
13 | vendor/libtwittercpp/vendor/curlcpp/include | 14 | ${mastodonpp_INCLUDE_DIRS} |
14 | vendor/verbly/lib | 15 | vendor/verbly/lib |
16 | vendor/json | ||
15 | ${GraphicsMagick_INCLUDE_DIRS} | 17 | ${GraphicsMagick_INCLUDE_DIRS} |
16 | ${yaml-cpp_INCLUDE_DIRS}) | 18 | ${yaml-cpp_INCLUDE_DIRS}) |
17 | 19 | ||
18 | add_executable(difference difference.cpp main.cpp) | 20 | link_directories( |
19 | set_property(TARGET difference PROPERTY CXX_STANDARD 11) | 21 | ${mastodonpp_LIBRARY_DIRS}) |
22 | |||
23 | add_executable(difference difference.cpp main.cpp imagenet.cpp) | ||
24 | set_property(TARGET difference PROPERTY CXX_STANDARD 17) | ||
20 | set_property(TARGET difference PROPERTY CXX_STANDARD_REQUIRED ON) | 25 | set_property(TARGET difference PROPERTY CXX_STANDARD_REQUIRED ON) |
21 | target_link_libraries(difference verbly ${yaml-cpp_LIBRARIES} twitter++ ${GraphicsMagick_LIBRARIES}) | 26 | target_link_libraries(difference verbly ${yaml-cpp_LIBRARIES} curlcpp ${GraphicsMagick_LIBRARIES} ${mastodonpp_LIBRARIES}) |