From b9bafe1042839cd7295adf84448b4d08de9f5f46 Mon Sep 17 00:00:00 2001 From: Maksym Mamontov Date: Fri, 19 Aug 2022 22:44:14 +0300 Subject: [PATCH] More FreeBSD paths. --- cmake/modules/FindMySQLConnector.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/FindMySQLConnector.cmake b/cmake/modules/FindMySQLConnector.cmake index 77892f57..ecef9888 100644 --- a/cmake/modules/FindMySQLConnector.cmake +++ b/cmake/modules/FindMySQLConnector.cmake @@ -1,7 +1,7 @@ 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 PATHS /usr/local/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 ) -- 2.43.2