From 1020a09ca419edcb0c66090d19f1a0ffbf07f6f4 Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 3 Sep 2010 22:13:48 +0200 Subject: [PATCH] Fixed: Detects mysqlclient library --- code/CMakeModules/FindMySQL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CMakeModules/FindMySQL.cmake b/code/CMakeModules/FindMySQL.cmake index 351737974..c52e61c03 100644 --- a/code/CMakeModules/FindMySQL.cmake +++ b/code/CMakeModules/FindMySQL.cmake @@ -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)