Changed: Search MySQL headers in mysql subfolder too

This commit is contained in:
kervala 2012-05-13 16:24:14 +02:00
parent f7888cb7c9
commit 9061d9a9b6

View file

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