]> git.stg.codes - stg.git/blobdiff - cmake/modules/FindMySQLConnector.cmake
Look for mysql-connector in FreeBSD paths.
[stg.git] / cmake / modules / FindMySQLConnector.cmake
index 6ab31aea2270d7e8b3bdf2676912747171179325..77892f57e9545aabafab17b321db26eb038437e7 100644 (file)
@@ -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 )
 
-find_library ( MySQLConnector_LIB NAMES mysqlclient DOC "Location of MySQLConnector library." )
+find_library ( MySQLConnector_LIB PATHS /usr/local/lib NAMES mysqlclient DOC "Location of MySQLConnector library." )
 mark_as_advanced ( MySQLConnector_LIB )
 
 if ( MySQLConnector_INCLUDE_DIR )