about summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-03-29 11:02:00 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-03-29 11:02:00 -0400
commitaa9a3d2e3b1cad0ad26efd84a353fc2c8b5ea89c (patch)
treeb417b3e386a863f23c8ee9aa77826c2aa3e54ea5 /CMakeLists.txt
parent8e763a23b29a4af6b11bb3be80c7c1d890e77fce (diff)
downloadblessed-aa9a3d2e3b1cad0ad26efd84a353fc2c8b5ea89c.tar.gz
blessed-aa9a3d2e3b1cad0ad26efd84a353fc2c8b5ea89c.tar.bz2
blessed-aa9a3d2e3b1cad0ad26efd84a353fc2c8b5ea89c.zip
Added yaml-cpp as a submodule
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 872dbe3..be6cc89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -1,15 +1,15 @@
1cmake_minimum_required (VERSION 2.6) 1cmake_minimum_required (VERSION 3.1)
2project (blessed) 2project (blessed)
3 3
4add_subdirectory(vendor/twitcurl/libtwitcurl)
5add_subdirectory(vendor/verbly)
6
7find_package(PkgConfig) 4find_package(PkgConfig)
8pkg_check_modules(YamlCpp yaml-cpp REQUIRED)
9pkg_check_modules(sqlite3 sqlite3 REQUIRED) 5pkg_check_modules(sqlite3 sqlite3 REQUIRED)
10 6
11include_directories(vendor/twitcurl/libtwitcurl ${sqlite3_INCLUDE_DIR} vendor/verbly/lib) 7add_subdirectory(vendor/twitcurl/libtwitcurl)
8add_subdirectory(vendor/verbly)
9add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL)
10
11include_directories(vendor/twitcurl/libtwitcurl ${sqlite3_INCLUDE_DIR} vendor/verbly/lib vendor/yaml-cpp/include)
12add_executable(blessed blessed.cpp) 12add_executable(blessed blessed.cpp)
13set_property(TARGET blessed PROPERTY CXX_STANDARD 11) 13set_property(TARGET blessed PROPERTY CXX_STANDARD 11)
14set_property(TARGET blessed PROPERTY CXX_STANDARD_REQUIRED ON) 14set_property(TARGET blessed PROPERTY CXX_STANDARD_REQUIRED ON)
15target_link_libraries(blessed ${sqlite3_LIBRARIES} ${YamlCpp_LIBRARIES} twitcurl curl verbly) 15target_link_libraries(blessed ${sqlite3_LIBRARIES} yaml-cpp twitcurl curl verbly)