Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

Fix MySQL search on CentOS 7 #77

Merged
merged 1 commit into from
Aug 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cmake/FindMySQL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ else()
NAMES mysql_version.h
PATH_SUFFIXES mysql
)
find_library(MySQL_LIBRARY NAMES mysqlclient mysqlclient_r)
find_library(MySQL_LIBRARY
NAMES mysqlclient mysqlclient_r
PATH_SUFFIXES mysql # for CentOS 7
)
endif()
endif()

Expand Down