diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
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 | ||
6 | add_subdirectory(vendor/libtwittercpp) | 6 | add_subdirectory(vendor/libtwittercpp) |
7 | add_subdirectory(vendor/verbly) | 7 | add_subdirectory(vendor/verbly) |
8 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) | ||
8 | 9 | ||
9 | find_package(PkgConfig) | 10 | find_package(PkgConfig) |
10 | pkg_check_modules(YamlCpp yaml-cpp REQUIRED) | ||
11 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | 11 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) |
12 | pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) | 12 | pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) |
13 | 13 | ||
14 | include_directories(vendor/libtwittercpp/src ${sqlite3_INCLUDE_DIR} vendor/verbly/lib vendor/curlcpp/include ${GraphicsMagick_INCLUDE_DIRS} vendor/libtwittercpp/vendor/json/src) | 14 | include_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) |
15 | add_executable(difference difference.cpp) | 15 | add_executable(difference difference.cpp) |
16 | set_property(TARGET difference PROPERTY CXX_STANDARD 11) | 16 | set_property(TARGET difference PROPERTY CXX_STANDARD 11) |
17 | set_property(TARGET difference PROPERTY CXX_STANDARD_REQUIRED ON) | 17 | set_property(TARGET difference PROPERTY CXX_STANDARD_REQUIRED ON) |
18 | target_link_libraries(difference verbly ${sqlite3_LIBRARIES} ${YamlCpp_LIBRARIES} twitter++ curlcpp ${GraphicsMagick_LIBRARIES}) | 18 | target_link_libraries(difference verbly ${sqlite3_LIBRARIES} yaml-cpp twitter++ curlcpp ${GraphicsMagick_LIBRARIES}) |