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:
parent
987c8a854e
commit
0bd137dc11
|
@ -59,10 +59,18 @@ Mac OSX
|
||||||
|
|
||||||
Install PCRE:
|
Install PCRE:
|
||||||
|
|
||||||
|
homebre
|
||||||
|
brew install pcre
|
||||||
|
|
||||||
|
or macport
|
||||||
sudo port install pcre
|
sudo port install pcre
|
||||||
|
|
||||||
Ensure /path/to/pcre.h is in CXXFLAGS, e.g:
|
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
|
export CXXFLAGS=${CXXFLAGS}:/opt/local/include
|
||||||
|
|
||||||
Or for MSVC copy pcre.lib and pcre.h in /externals directory.
|
Or for MSVC copy pcre.lib and pcre.h in /externals directory.
|
||||||
|
|
Loading…
Reference in New Issue