Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update install-mac.sh
  • Loading branch information
swwelch committed Sep 8, 2017
1 parent 365665e commit 7e31b50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install-mac.sh
Expand Up @@ -6,7 +6,8 @@ patch CMakeLists.txt < ../cmakepatch.txt
mkdir build
export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
cd build
cmake -DOPENSSL_ROOT_DIR=$(brew --prefix openssl) -DOPENSSL_LIBRARIES=$(brew --prefix openssl)/lib ..
OPENSSL_VERSION=`openssl version -v | cut -d' ' -f2`
cmake -DOPENSSL_ROOT_DIR=$(brew --cellar openssl)/$OPENSSL_VERSION -DOPENSSL_LIBRARIES=$(brew --cellar openssl)/$OPENSSL_VERSION/lib ..
make
sudo make install
cd ..
Expand Down

0 comments on commit 7e31b50

Please sign in to comment.