Skip to content

Commit

Permalink
fix issue of cmake error of not find openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonHe committed Sep 8, 2017
1 parent 4ced873 commit 1742888
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install-mac.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ patch CMakeLists.txt < ../cmakepatch.txt
mkdir build
export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
cd build
cmake ..
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 1742888

Please sign in to comment.