about summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-04-15 18:26:53 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-04-15 18:26:53 -0400
commit8b29ce316f6a4b544057d378bf4e6cbc859b63f8 (patch)
treed4e4bd2996d48977509e6ff7b3dbc8b06bd7eb75 /CMakeLists.txt
parent9d021d0ef0e24595cd35e42d2847a6e679c386e0 (diff)
downloaddifference-8b29ce316f6a4b544057d378bf4e6cbc859b63f8.tar.gz
difference-8b29ce316f6a4b544057d378bf4e6cbc859b63f8.tar.bz2
difference-8b29ce316f6a4b544057d378bf4e6cbc859b63f8.zip
Added yaml-cpp submodule
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index da4306f..3b5e33c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -5,14 +5,14 @@ set(CMAKE_BUILD_TYPE Debug)
5 5
6add_subdirectory(vendor/libtwittercpp) 6add_subdirectory(vendor/libtwittercpp)
7add_subdirectory(vendor/verbly) 7add_subdirectory(vendor/verbly)
8add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL)
8 9
9find_package(PkgConfig) 10find_package(PkgConfig)
10pkg_check_modules(YamlCpp yaml-cpp REQUIRED)
11pkg_check_modules(sqlite3 sqlite3 REQUIRED) 11pkg_check_modules(sqlite3 sqlite3 REQUIRED)
12pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) 12pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED)
13 13
14include_directories(vendor/libtwittercpp/src ${sqlite3_INCLUDE_DIR} vendor/verbly/lib vendor/curlcpp/include ${GraphicsMagick_INCLUDE_DIRS} vendor/libtwittercpp/vendor/json/src) 14include_directories(vendor/libtwittercpp/src ${sqlite3_INCLUDE_DIR} vendor/verbly/lib vendor/curlcpp/include ${GraphicsMagick_INCLUDE_DIRS} vendor/libtwittercpp/vendor/json/src vendor/yaml-cpp/include)
15add_executable(difference difference.cpp) 15add_executable(difference difference.cpp)
16set_property(TARGET difference PROPERTY CXX_STANDARD 11) 16set_property(TARGET difference PROPERTY CXX_STANDARD 11)
17set_property(TARGET difference PROPERTY CXX_STANDARD_REQUIRED ON) 17set_property(TARGET difference PROPERTY CXX_STANDARD_REQUIRED ON)
18target_link_libraries(difference verbly ${sqlite3_LIBRARIES} ${YamlCpp_LIBRARIES} twitter++ curlcpp ${GraphicsMagick_LIBRARIES}) 18target_link_libraries(difference verbly ${sqlite3_LIBRARIES} yaml-cpp twitter++ curlcpp ${GraphicsMagick_LIBRARIES})