Changed: Search MySQL headers in mysql subfolder too
This commit is contained in:
parent
131ccb033a
commit
186c3c0436
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue