From 71d1cc666b3135d9df0875a6f78f71cda64221e5 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sun, 16 Feb 2020 12:04:20 +0100 Subject: [PATCH] Fixed MySQL --- CMakeLists.txt | 3 ++- src/sql/mysql/MySQL.cpp | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10c51b3..41f87aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -232,7 +232,7 @@ set(TEST_LIBRARIES tomcrypt::static tommath::static - mysqlclient.a + mysqlclient::static jsoncpp_lib ${ed25519_LIBRARIES_STATIC} ${DataPipes_LIBRARIES_SHARED} # Also includes glib2.0 @@ -242,6 +242,7 @@ set(TEST_LIBRARIES dl z ) + include_directories(src/) option(BUILD_TESTS "Enable/disable test building" ON) if(BUILD_TESTS) diff --git a/src/sql/mysql/MySQL.cpp b/src/sql/mysql/MySQL.cpp index eac8ea0..eb2dad9 100644 --- a/src/sql/mysql/MySQL.cpp +++ b/src/sql/mysql/MySQL.cpp @@ -7,8 +7,6 @@ #include #include -#include - #define CR_CONNECTION_ERROR (2002) #define CR_SERVER_GONE_ERROR (2006) #define CR_SERVER_LOST (2013)