diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-29 11:25:08 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-29 11:25:08 -0400 |
commit | ca7e2807e70aac07dfa6e467da9e5bc7ac07ff44 (patch) | |
tree | 66af5c7398f574d31e6ff85da3af0e54e11b99d0 /CMakeLists.txt | |
parent | 9fbc620aa6516741a2d62660f2faada78baf7513 (diff) | |
download | chemist-ca7e2807e70aac07dfa6e467da9e5bc7ac07ff44.tar.gz chemist-ca7e2807e70aac07dfa6e467da9e5bc7ac07ff44.tar.bz2 chemist-ca7e2807e70aac07dfa6e467da9e5bc7ac07ff44.zip |
Added yaml-cpp as a submodule
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9508ca5..97d19b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,17 +1,17 @@ | |||
1 | cmake_minimum_required (VERSION 2.6) | 1 | cmake_minimum_required (VERSION 3.1) |
2 | project (chemist) | 2 | project (chemist) |
3 | 3 | ||
4 | set(CMAKE_BUILD_TYPE Debug) | 4 | set(CMAKE_BUILD_TYPE Debug) |
5 | 5 | ||
6 | add_subdirectory(vendor/twitcurl/libtwitcurl) | ||
7 | add_subdirectory(vendor/verbly) | ||
8 | |||
9 | find_package(PkgConfig) | 6 | find_package(PkgConfig) |
10 | pkg_check_modules(YamlCpp yaml-cpp REQUIRED) | ||
11 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | 7 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) |
12 | 8 | ||
13 | include_directories(vendor/twitcurl/libtwitcurl ${sqlite3_INCLUDE_DIR} vendor/verbly/lib) | 9 | add_subdirectory(vendor/twitcurl/libtwitcurl) |
10 | add_subdirectory(vendor/verbly) | ||
11 | add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) | ||
12 | |||
13 | include_directories(vendor/twitcurl/libtwitcurl ${sqlite3_INCLUDE_DIR} vendor/verbly/lib vendor/yaml-cpp/include) | ||
14 | add_executable(chemist chemist.cpp) | 14 | add_executable(chemist chemist.cpp) |
15 | set_property(TARGET chemist PROPERTY CXX_STANDARD 11) | 15 | set_property(TARGET chemist PROPERTY CXX_STANDARD 11) |
16 | set_property(TARGET chemist PROPERTY CXX_STANDARD_REQUIRED ON) | 16 | set_property(TARGET chemist PROPERTY CXX_STANDARD_REQUIRED ON) |
17 | target_link_libraries(chemist verbly ${sqlite3_LIBRARIES} ${YamlCpp_LIBRARIES} twitcurl curl) | 17 | target_link_libraries(chemist verbly ${sqlite3_LIBRARIES} yaml-cpp twitcurl curl) |