about summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
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})