diff options
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 97d19b9..49b0d2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -3,15 +3,12 @@ project (chemist) | |||
3 | 3 | ||
4 | set(CMAKE_BUILD_TYPE Debug) | 4 | set(CMAKE_BUILD_TYPE Debug) |
5 | 5 | ||
6 | find_package(PkgConfig) | ||
7 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | ||
8 | |||
9 | add_subdirectory(vendor/twitcurl/libtwitcurl) | ||
10 | add_subdirectory(vendor/verbly) | 6 | add_subdirectory(vendor/verbly) |
11 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) | 7 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) |
8 | add_subdirectory(vendor/libtwittercpp) | ||
12 | 9 | ||
13 | include_directories(vendor/twitcurl/libtwitcurl ${sqlite3_INCLUDE_DIR} vendor/verbly/lib vendor/yaml-cpp/include) | 10 | include_directories(vendor/verbly/lib vendor/yaml-cpp/include vendor/libtwittercpp/src) |
14 | add_executable(chemist chemist.cpp) | 11 | add_executable(chemist chemist.cpp) |
15 | set_property(TARGET chemist PROPERTY CXX_STANDARD 11) | 12 | set_property(TARGET chemist PROPERTY CXX_STANDARD 11) |
16 | set_property(TARGET chemist PROPERTY CXX_STANDARD_REQUIRED ON) | 13 | set_property(TARGET chemist PROPERTY CXX_STANDARD_REQUIRED ON) |
17 | target_link_libraries(chemist verbly ${sqlite3_LIBRARIES} yaml-cpp twitcurl curl) | 14 | target_link_libraries(chemist verbly twitter++ yaml-cpp) |