From 0bd137dc11021797f2b844e3e43d0b88d35bc169 Mon Sep 17 00:00:00 2001 From: fu7mu4 Date: Thu, 28 Jan 2021 03:06:58 +0900 Subject: [PATCH] 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 --- build-pcre.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build-pcre.txt b/build-pcre.txt index dfb80f0eb..5289f430e 100644 --- a/build-pcre.txt +++ b/build-pcre.txt @@ -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.