Skip to content

Commit

Permalink
INSTALL/ci: Update OSX instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKagstrom committed Sep 16, 2024
1 parent 1b4e516 commit 4464b42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/osx-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ run () {
mkdir build build-tests

cd build
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_INSTALL_PREFIX=/usr/local .. || exit 64
cmake -DOPENSSL_ROOT_DIR=$(brew --prefix openssl) -DCMAKE_INSTALL_PREFIX=/usr/local .. || exit 64
make || exit 64
make install || exit 64
cd ..
Expand Down
4 changes: 2 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Mac OS
Install dependencies:

```sh
brew install zlib bash cmake pkgconfig dwarfutils openssl
brew install zlib bash cmake pkgconfig dwarfutils openssl ninja
```

Mac OS build instructions (see Issue #166 / Issue #357):
Expand All @@ -48,7 +48,7 @@ Create an empty build dir and do the following steps (adjust openssl path, can a

```sh
cd <build-dir>
cmake -G make -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib <path/to/kcov/source/dir>
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=$(brew --prefix openssl) <path/to/kcov/source/dir>
make
```

Expand Down

0 comments on commit 4464b42

Please sign in to comment.