From 9061d9a9b6761d1b265f2b48d8cb9a90ee12968e Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 13 May 2012 16:24:14 +0200 Subject: [PATCH] Changed: Search MySQL headers in mysql subfolder too --- code/CMakeModules/FindMySQL.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/code/CMakeModules/FindMySQL.cmake b/code/CMakeModules/FindMySQL.cmake index a00e36992..1da6157fa 100644 --- a/code/CMakeModules/FindMySQL.cmake +++ b/code/CMakeModules/FindMySQL.cmake @@ -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