Fixed: Detects mysqlclient library

This commit is contained in:
kervala 2010-09-03 22:13:48 +02:00
parent 36623018b4
commit 1020a09ca4

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)