about summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-04-10 11:35:55 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-04-10 11:35:55 -0400
commitbd8ff4083d41417f014241ddb94e43b39bee6080 (patch)
tree09ec764e995b53de78462b2fb996db5973d25aef /CMakeLists.txt
parent95e89d24d998c75dae191ceefbe17c0d44c2d78a (diff)
downloaddifference-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.txt9
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 @@
1cmake_minimum_required (VERSION 3.1) 1cmake_minimum_required (VERSION 3.1)
2project (difference) 2project (difference)
3 3
4set(CMAKE_BUILD_TYPE Debug)
5
6add_subdirectory(vendor/libtwittercpp) 4add_subdirectory(vendor/libtwittercpp)
7add_subdirectory(vendor/verbly) 5add_subdirectory(vendor/verbly)
8add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) 6add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL)
9 7
10find_package(PkgConfig) 8find_package(PkgConfig)
11pkg_check_modules(sqlite3 sqlite3 REQUIRED)
12pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) 9pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED)
13 10
14include_directories(vendor/libtwittercpp/src vendor/libtwittercpp/vendor/curlcpp/include ${sqlite3_INCLUDE_DIR} vendor/verbly/lib ${GraphicsMagick_INCLUDE_DIRS} vendor/yaml-cpp/include) 11include_directories(vendor/libtwittercpp/src vendor/libtwittercpp/vendor/curlcpp/include vendor/verbly/lib ${GraphicsMagick_INCLUDE_DIRS} vendor/yaml-cpp/include)
15add_executable(difference difference.cpp) 12add_executable(difference difference.cpp main.cpp)
16set_property(TARGET difference PROPERTY CXX_STANDARD 11) 13set_property(TARGET difference PROPERTY CXX_STANDARD 11)
17set_property(TARGET difference PROPERTY CXX_STANDARD_REQUIRED ON) 14set_property(TARGET difference PROPERTY CXX_STANDARD_REQUIRED ON)
18target_link_libraries(difference verbly ${sqlite3_LIBRARIES} yaml-cpp twitter++ ${GraphicsMagick_LIBRARIES}) 15target_link_libraries(difference verbly yaml-cpp twitter++ ${GraphicsMagick_LIBRARIES})