git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'github/master'
[stg.git]
/
cmake
/
modules
/
FindMySQLConnector.cmake
diff --git
a/cmake/modules/FindMySQLConnector.cmake
b/cmake/modules/FindMySQLConnector.cmake
index 6ab31aea2270d7e8b3bdf2676912747171179325..ecef9888264c55d64873a4ef1c16c60124497f28 100644
(file)
--- a/
cmake/modules/FindMySQLConnector.cmake
+++ b/
cmake/modules/FindMySQLConnector.cmake
@@
-1,7
+1,7
@@
-find_path ( MySQLConnector_INCLUDE_DIR NAMES mysql/mysql.h mysql/mysql_version.h DOC "Path to MySQLConnector header files." )
+find_path ( MySQLConnector_INCLUDE_DIR
PATHS /usr/local/include
NAMES mysql/mysql.h mysql/mysql_version.h DOC "Path to MySQLConnector header files." )
mark_as_advanced ( MySQLConnector_INCLUDE_DIR )
mark_as_advanced ( MySQLConnector_INCLUDE_DIR )
-find_library ( MySQLConnector_LIB NAMES mysqlclient DOC "Location of MySQLConnector library." )
+find_library ( MySQLConnector_LIB
PATHS /usr/local/lib /usr/local/lib/mysql-connector-c /usr/local/lib/mysql
NAMES mysqlclient DOC "Location of MySQLConnector library." )
mark_as_advanced ( MySQLConnector_LIB )
if ( MySQLConnector_INCLUDE_DIR )
mark_as_advanced ( MySQLConnector_LIB )
if ( MySQLConnector_INCLUDE_DIR )