Update the FindMySQL.cmake

This commit is contained in:
antao 2018-12-03 17:15:38 +08:00
parent ffbdac36c9
commit a5c0d33011
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ IF (WIN32)
$ENV{ProgramFiles}/MySQL/*/lib/${libsuffixDist}
$ENV{SystemDrive}/MySQL/*/lib/${libsuffixDist})
ELSE (WIN32)
FIND_LIBRARY(MYSQL_LIB NAMES mariadbclient
FIND_LIBRARY(MYSQL_LIB NAMES mysqlclient_r mariadbclient
PATHS
/usr/lib/mysql
/usr/local/lib/mysql