Fixed: Detects mysqlclient library

This commit is contained in:
kervala 2010-09-03 22:13:48 +02:00
parent bb19496b11
commit 0ecb274bc4

View file

@ -23,7 +23,7 @@ ELSE(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES)
$ENV{SystemDrive}/MySQL/*/include)
IF(WIN32 AND MSVC)
FIND_LIBRARY(MYSQL_LIBRARIES NAMES libmysql
FIND_LIBRARY(MYSQL_LIBRARIES NAMES libmysql mysqlclient
PATHS
$ENV{ProgramFiles}/MySQL/*/lib/opt
$ENV{SystemDrive}/MySQL/*/lib/opt)