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 20896fb commit 2ad757e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,11 @@ FIND_PATH(MYSQL_INCLUDE_DIR mysql.h
/usr/local/mysql/include
/opt/homebrew/opt/mysql/include
)

if(NOT MYSQL_INCLUDE_DIR)
message(STATUS "Could not find \"mysql.h\" from searching ")
endif()

SET(MYSQL_NAMES mysqlclient)
FIND_LIBRARY(MYSQL_LIBRARY
NAMES ${MYSQL_NAMES}
Expand Down

0 comments on commit 2ad757e

Please sign in to comment.