Fixed MySQL

This commit is contained in:
WolverinDEV 2020-02-16 12:04:20 +01:00
parent 97fd71b69a
commit 71d1cc666b
2 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -7,8 +7,6 @@
#include <memory>
#include <utility>
#include <mysql.h>
#define CR_CONNECTION_ERROR (2002)
#define CR_SERVER_GONE_ERROR (2006)
#define CR_SERVER_LOST (2013)