From a5c0d330116a617aac60f6406d74acd9242e3579 Mon Sep 17 00:00:00 2001 From: antao Date: Mon, 3 Dec 2018 17:15:38 +0800 Subject: [PATCH] Update the FindMySQL.cmake --- cmake_modules/FindMySQL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake_modules/FindMySQL.cmake b/cmake_modules/FindMySQL.cmake index 2e0637ff..98fa5d3e 100644 --- a/cmake_modules/FindMySQL.cmake +++ b/cmake_modules/FindMySQL.cmake @@ -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