From 1b78c44442cd578bad394bf6cbfabd4af637ca4b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 17 Mar 2016 14:37:47 -0400 Subject: Updated to use verbly --- CMakeLists.txt | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 554735d..d57c96a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,16 +4,14 @@ project (nancy) set(CMAKE_BUILD_TYPE Debug) add_subdirectory(vendor/twitcurl/libtwitcurl) - -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/") - -find_package(Mysql REQUIRED) - +add_subdirectory(vendor/verbly) add_subdirectory(vendor/yaml-cpp EXCLUDE_FROM_ALL) -include_directories(vendor/yaml-cpp/include) -include_directories(vendor/twitcurl/libtwitcurl ${MYSQL_INCLUDE_DIR}) +find_package(PkgConfig) +pkg_check_modules(sqlite3 sqlite3 REQUIRED) + +include_directories(vendor/yaml-cpp/include vendor/twitcurl/libtwitcurl vendor/verbly/lib) add_executable(nancy nancy.cpp) set_property(TARGET nancy PROPERTY CXX_STANDARD 11) set_property(TARGET nancy PROPERTY CXX_STANDARD_REQUIRED ON) -target_link_libraries(nancy yaml-cpp ${MYSQL_LIBRARIES} twitcurl curl) +target_link_libraries(nancy yaml-cpp twitcurl curl verbly ${sqlite3_LIBRARIES}) -- cgit 1.4.1