Fixed: #914 Added additional path to FindMySQL.cmake

This commit is contained in:
Matt Raykowski 2010-05-20 07:26:05 -05:00
parent f1277b6caa
commit fb0fa0429e

View file

@ -18,6 +18,7 @@ ELSE(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES)
FIND_PATH(MYSQL_INCLUDE_DIR mysql.h FIND_PATH(MYSQL_INCLUDE_DIR mysql.h
/usr/include/mysql /usr/include/mysql
/usr/local/include/mysql /usr/local/include/mysql
/opt/local/include/mysql5/mysql
$ENV{ProgramFiles}/MySQL/*/include $ENV{ProgramFiles}/MySQL/*/include
$ENV{SystemDrive}/MySQL/*/include) $ENV{SystemDrive}/MySQL/*/include)
@ -33,6 +34,7 @@ ELSE(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES)
/usr/local/lib /usr/local/lib
/usr/lib/mysql /usr/lib/mysql
/usr/local/lib/mysql /usr/local/lib/mysql
/opt/local/lib/mysql5/mysql
) )
ENDIF(WIN32 AND MSVC) ENDIF(WIN32 AND MSVC)