Skip to content

Commit

Permalink
fix new MacOS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hggq committed Apr 29, 2024
1 parent 5bba27d commit 20896fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,12 @@ FIND_PATH(MYSQL_INCLUDE_DIR mysql.h
/usr/local/include/mysql
/usr/include/mysql
/usr/local/mysql/include
/opt/homebrew/opt/mysql/include
)
SET(MYSQL_NAMES mysqlclient)
FIND_LIBRARY(MYSQL_LIBRARY
NAMES ${MYSQL_NAMES}
PATHS /usr/lib /usr/local/lib /usr/local/mysql/lib
PATHS /usr/lib /usr/local/lib /usr/local/mysql/lib /opt/homebrew/opt/mysql/lib
PATH_SUFFIXES mysql
)

Expand Down

0 comments on commit 20896fb

Please sign in to comment.