diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..872dbe3 --- /dev/null +++ b/CMakeLists.txt | |||
@@ -0,0 +1,15 @@ | |||
1 | cmake_minimum_required (VERSION 2.6) | ||
2 | project (blessed) | ||
3 | |||
4 | add_subdirectory(vendor/twitcurl/libtwitcurl) | ||
5 | add_subdirectory(vendor/verbly) | ||
6 | |||
7 | find_package(PkgConfig) | ||
8 | pkg_check_modules(YamlCpp yaml-cpp REQUIRED) | ||
9 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | ||
10 | |||
11 | include_directories(vendor/twitcurl/libtwitcurl ${sqlite3_INCLUDE_DIR} vendor/verbly/lib) | ||
12 | add_executable(blessed blessed.cpp) | ||
13 | set_property(TARGET blessed PROPERTY CXX_STANDARD 11) | ||
14 | set_property(TARGET blessed PROPERTY CXX_STANDARD_REQUIRED ON) | ||
15 | target_link_libraries(blessed ${sqlite3_LIBRARIES} ${YamlCpp_LIBRARIES} twitcurl curl verbly) | ||