From 07a11ffc6a1d23815bca45321afa0f3c8661d96d Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 26 Mar 2018 15:36:13 -0400 Subject: Removed yaml-cpp submodule --- CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 65cfef7..4345e90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,12 +3,16 @@ project (cadence) find_package(PkgConfig) pkg_check_modules(sqlite3 sqlite3 REQUIRED) +pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) add_subdirectory(vendor/libtwittercpp) -add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) -include_directories(${sqlite3_INCLUDE_DIR} vendor/libtwittercpp/src vendor/yaml-cpp/include) +include_directories( + ${sqlite3_INCLUDE_DIR} + vendor/libtwittercpp/src + ${yaml-cpp_INCLUDE_DIRS}) + add_executable(cadence cadence.cpp) set_property(TARGET cadence PROPERTY CXX_STANDARD 11) set_property(TARGET cadence PROPERTY CXX_STANDARD_REQUIRED ON) -target_link_libraries(cadence ${sqlite3_LIBRARIES} twitter++ yaml-cpp) +target_link_libraries(cadence ${sqlite3_LIBRARIES} twitter++ ${yaml-cpp_LIBRARIES}) -- cgit 1.4.1