about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
-rw-r--r--furries.cpp2
2 files changed, 3 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e1ff59b..a754833 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -5,8 +5,7 @@ add_subdirectory(vendor/twitcurl/libtwitcurl)
5 5
6find_package(PkgConfig) 6find_package(PkgConfig)
7pkg_check_modules(YamlCpp yaml-cpp REQUIRED) 7pkg_check_modules(YamlCpp yaml-cpp REQUIRED)
8pkg_check_modules(mysqlclient mysqlclient REQUIRED)
9 8
10include_directories(${mysqlclient_INCLUDE_DIRS} vendor/twitcurl/libtwitcurl) 9include_directories(vendor/twitcurl/libtwitcurl)
11add_executable(furries furries.cpp) 10add_executable(furries furries.cpp)
12target_link_libraries(furries ${YamlCpp_LIBRARIES} ${mysqlclient_LIBRARIES} twitcurl curl) 11target_link_libraries(furries ${YamlCpp_LIBRARIES} mysqlclient twitcurl curl)
diff --git a/furries.cpp b/furries.cpp index 94d0e71..15c4657 100644 --- a/furries.cpp +++ b/furries.cpp
@@ -1,6 +1,6 @@
1#include <yaml-cpp/yaml.h> 1#include <yaml-cpp/yaml.h>
2#include <iostream> 2#include <iostream>
3#include <mysql.h> 3#include <mysql/mysql.h>
4#include <cstdlib> 4#include <cstdlib>
5#include <ctime> 5#include <ctime>
6#include <sstream> 6#include <sstream>