Skip to content
Permalink
Browse files

cmake: Update MySQL autodetection to support MariaDB

  • Loading branch information...
lazyfrosch committed May 7, 2019
1 parent 736e080 commit 3d1536855aa364261b64d149c8e70ef9819d09bb
Showing with 7 additions and 1 deletion.
  1. +7 −1 third-party/cmake/FindMySQL.cmake
@@ -36,15 +36,21 @@ FIND_PATH(MYSQL_INCLUDE_DIR mysql.h
$ENV{MYSQL_DIR}/include
/usr/include/mysql
/usr/local/include/mysql
/usr/include/mariadb
/usr/local/include/mariadb
/opt/mysql/mysql/include
/opt/mysql/mysql/include/mysql
/opt/mysql/include
/opt/mariadb/include/mysql
/opt/local/include/mysql5
/usr/local/mysql/include
/usr/local/mysql/include/mysql
${_macports_include_dirs}
$ENV{ProgramFiles}/MySQL/*/include
$ENV{SystemDrive}/MySQL/*/include)
$ENV{SystemDrive}/MySQL/*/include
$ENV{ProgramFiles}/MariaDB*/include/mysql
$ENV{SystemDrive}/MariaDB*/include/mysql
)

UNSET(_macports_include_dirs)

0 comments on commit 3d15368

Please sign in to comment.
You can’t perform that action at this time.