Changed: Search MySQL headers in mysql subfolder too

This commit is contained in:
kervala 2012-05-13 16:24:14 +02:00
parent 131ccb033a
commit 186c3c0436

View file

@ -16,6 +16,7 @@ IF(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES)
ELSE(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES) ELSE(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES)
FIND_PATH(MYSQL_INCLUDE_DIR mysql.h FIND_PATH(MYSQL_INCLUDE_DIR mysql.h
PATH_SUFFIXES mysql
/usr/include/mysql /usr/include/mysql
/usr/local/include/mysql /usr/local/include/mysql
/opt/local/include/mysql5/mysql /opt/local/include/mysql5/mysql