Permalink
Browse files

Add some extra search paths so CentOS and Fedora have a better time f…

…inding things with c-client and mysql
  • Loading branch information...
1 parent 506987d commit eaa532e9a710b3235c4bc6c75a8d447b889cfbc0 @scottmac scottmac committed Nov 2, 2010
Showing with 4 additions and 2 deletions.
  1. +1 −1 CMake/FindCClient.cmake
  2. +3 −1 CMake/FindMySQL.cmake
View
2 CMake/FindCClient.cmake
@@ -4,7 +4,7 @@ ENDIF(CCLIENT_FOUND)
FIND_PATH(CCLIENT_INCLUDE_PATH
NAMES c-client.h
- PATH_SUFFIXES c-client
+ PATH_SUFFIXES c-client imap
PATHS /usr/include /usr/local/include /usr/pkg/include
)
View
4 CMake/FindMySQL.cmake
@@ -36,6 +36,7 @@ FIND_PATH(MYSQL_INCLUDE_DIR mysql/mysql.h
/usr/local/include/mysql
/opt/mysql/mysql/include
/opt/mysql/mysql/include/mysql
+ /opt/mysql/include
/opt/local/include/mysql5
/usr/local/mysql/include
/usr/local/mysql/include/mysql
@@ -77,7 +78,8 @@ ELSE (WIN32)
/usr/local/mysql/lib/mysql
/opt/local/mysql5/lib
/opt/local/lib/mysql5/mysql
- /opt/mysql/mysql/lib/mysql)
+ /opt/mysql/mysql/lib/mysql
+ /opt/mysql/lib/mysql)
ENDIF (WIN32)
IF(MYSQL_LIB)

0 comments on commit eaa532e

Please sign in to comment.