Find mariadb client library correctly on Ubuntu 20.04 (#613)
This commit is contained in:
parent
17b3ea471d
commit
ed2818ed89
|
@ -3,7 +3,7 @@ matrix:
|
|||
- os: linux
|
||||
dist: xenial
|
||||
- os: osx
|
||||
osx_image: xcode11.2
|
||||
osx_image: xcode12.2
|
||||
|
||||
sudo: required
|
||||
|
||||
|
@ -58,13 +58,13 @@ before_script:
|
|||
brew tap homebrew/services;
|
||||
brew services restart postgresql;
|
||||
brew services start mariadb;
|
||||
sleep 2;
|
||||
sleep 4;
|
||||
mariadb -e "CREATE USER 'root'@'localhost' IDENTIFIED BY ''";
|
||||
mariadb -e "SET PASSWORD FOR 'root'@'localhost' = PASSWORD('')";
|
||||
mariadb -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost'";
|
||||
mariadb -e "FLUSH PRIVILEGES";
|
||||
sleep 2;
|
||||
brew services restart mariadb;
|
||||
sleep 4;
|
||||
psql -c 'create user postgres superuser;' postgres;
|
||||
fi
|
||||
|
||||
|
|
|
@ -32,12 +32,16 @@ find_path(MYSQL_INCLUDE_DIRS
|
|||
PATH_SUFFIXES mysql
|
||||
PATHS /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/local/include/mysql5
|
||||
/usr/local/mysql/include
|
||||
/usr/local/mysql/include/mysql
|
||||
/usr/local/mariadb/include
|
||||
/usr/local/mariadb/include/mariadb
|
||||
$ENV{ProgramFiles}/MySQL/*/include
|
||||
$ENV{SystemDrive}/MySQL/*/include)
|
||||
|
||||
|
|
Loading…
Reference in New Issue