Add how to install pcre by using homebrew (#3087)

Previously macport is famous on macOS. but these days,
homebrew is more famous and popular than macport.
So I add how to install pcre by using homwbrew.
That's all
This commit is contained in:
fu7mu4 2021-01-28 03:06:58 +09:00 committed by GitHub
parent 987c8a854e
commit 0bd137dc11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -59,10 +59,18 @@ Mac OSX
Install PCRE:
homebre
brew install pcre
or macport
sudo port install pcre
Ensure /path/to/pcre.h is in CXXFLAGS, e.g:
for homebrew
export CXXFLAGS=${CXXFLAGS}:/usr/local/include
or macport
export CXXFLAGS=${CXXFLAGS}:/opt/local/include
Or for MSVC copy pcre.lib and pcre.h in /externals directory.