diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-04-10 11:35:55 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-04-10 11:35:55 -0400 |
commit | bd8ff4083d41417f014241ddb94e43b39bee6080 (patch) | |
tree | 09ec764e995b53de78462b2fb996db5973d25aef /CMakeLists.txt | |
parent | 95e89d24d998c75dae191ceefbe17c0d44c2d78a (diff) | |
download | difference-bd8ff4083d41417f014241ddb94e43b39bee6080.tar.gz difference-bd8ff4083d41417f014241ddb94e43b39bee6080.tar.bz2 difference-bd8ff4083d41417f014241ddb94e43b39bee6080.zip |
Updated verbly (new API)
Also updated libtwitter++, and blacklisted some problematic images.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c7ae7a9..adb9ba1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,18 +1,15 @@ | |||
1 | cmake_minimum_required (VERSION 3.1) | 1 | cmake_minimum_required (VERSION 3.1) |
2 | project (difference) | 2 | project (difference) |
3 | 3 | ||
4 | set(CMAKE_BUILD_TYPE Debug) | ||
5 | |||
6 | add_subdirectory(vendor/libtwittercpp) | 4 | add_subdirectory(vendor/libtwittercpp) |
7 | add_subdirectory(vendor/verbly) | 5 | add_subdirectory(vendor/verbly) |
8 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) | 6 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) |
9 | 7 | ||
10 | find_package(PkgConfig) | 8 | find_package(PkgConfig) |
11 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | ||
12 | pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) | 9 | pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) |
13 | 10 | ||
14 | include_directories(vendor/libtwittercpp/src vendor/libtwittercpp/vendor/curlcpp/include ${sqlite3_INCLUDE_DIR} vendor/verbly/lib ${GraphicsMagick_INCLUDE_DIRS} vendor/yaml-cpp/include) | 11 | include_directories(vendor/libtwittercpp/src vendor/libtwittercpp/vendor/curlcpp/include vendor/verbly/lib ${GraphicsMagick_INCLUDE_DIRS} vendor/yaml-cpp/include) |
15 | add_executable(difference difference.cpp) | 12 | add_executable(difference difference.cpp main.cpp) |
16 | set_property(TARGET difference PROPERTY CXX_STANDARD 11) | 13 | set_property(TARGET difference PROPERTY CXX_STANDARD 11) |
17 | set_property(TARGET difference PROPERTY CXX_STANDARD_REQUIRED ON) | 14 | set_property(TARGET difference PROPERTY CXX_STANDARD_REQUIRED ON) |
18 | target_link_libraries(difference verbly ${sqlite3_LIBRARIES} yaml-cpp twitter++ ${GraphicsMagick_LIBRARIES}) | 15 | target_link_libraries(difference verbly yaml-cpp twitter++ ${GraphicsMagick_LIBRARIES}) |