diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-04-13 11:24:24 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-04-13 11:24:24 -0400 |
commit | 7e85b35d7d1714e3f85434b891a1050ad584e337 (patch) | |
tree | 1ca626fe9551734d6d98e50b841b7365d49ba088 /CMakeLists.txt | |
parent | 891d57d200f55b91f80b6d3b4dd0c30479be6109 (diff) | |
download | libtwittercpp-7e85b35d7d1714e3f85434b891a1050ad584e337.tar.gz libtwittercpp-7e85b35d7d1714e3f85434b891a1050ad584e337.tar.bz2 libtwittercpp-7e85b35d7d1714e3f85434b891a1050ad584e337.zip |
Added ability to upload media and tweet it
Images (static and animated) and videos have been tested. Currently all media uploads occur in one large chunk; support to break down chunks will be added later.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7507e25..9f290c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -9,7 +9,7 @@ include_directories(vendor/liboauthcpp/include) | |||
9 | add_subdirectory(vendor/curlcpp) | 9 | add_subdirectory(vendor/curlcpp) |
10 | include_directories(${CURLCPP_SOURCE_DIR}/include) | 10 | include_directories(${CURLCPP_SOURCE_DIR}/include) |
11 | 11 | ||
12 | add_library(twitter++ src/client.cpp src/auth.cpp src/tweet.cpp) | 12 | add_library(twitter++ src/client.cpp src/auth.cpp src/tweet.cpp src/codes.cpp) |
13 | set_property(TARGET twitter++ PROPERTY CXX_STANDARD 11) | 13 | set_property(TARGET twitter++ PROPERTY CXX_STANDARD 11) |
14 | set_property(TARGET twitter++ PROPERTY CXX_STANDARD_REQUIRED ON) | 14 | set_property(TARGET twitter++ PROPERTY CXX_STANDARD_REQUIRED ON) |
15 | target_link_libraries(twitter++ oauthcpp curlcpp) | 15 | target_link_libraries(twitter++ oauthcpp curlcpp) |