Skip to content

Commit

Permalink
code review: brew --prefix openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur committed Apr 30, 2024
1 parent b722f46 commit e582b49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ jobs:
shell: bash
run: |
# NOTE: cmake does not support autodetection of OPENSSL_ROOT_DIR via brew
export OPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl
export OPENSSL_ROOT_DIR=`brew --prefix openssl`
if [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_OPENSSL" ]; then
EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_OPENSSL=ON"
Expand All @@ -583,7 +583,7 @@ jobs:
else
EVENT_CMAKE_OPTIONS=""
fi
EVENT_CMAKE_OPTIONS="$EVENT_CMAKE_OPTIONS -DMBEDTLS_ROOT_DIR=/opt/homebrew/opt/mbedtls@2"
EVENT_CMAKE_OPTIONS="$EVENT_CMAKE_OPTIONS -DMBEDTLS_ROOT_DIR=`brew --prefix mbedtls`"
mkdir -p build
cd build
Expand Down Expand Up @@ -641,8 +641,8 @@ jobs:
- name: Build
shell: bash
run: |
export CPPFLAGS="-I/opt/homebrew/opt/mbedtls@2/include"
export LDFLAGS="-L/opt/homebrew/opt/mbedtls@2/lib"
export CPPFLAGS="-I`brew --prefix mbedtls`/include"
export LDFLAGS="-L`brew --prefix mbedtls`/lib"
./autogen.sh
mkdir -p build
Expand Down

0 comments on commit e582b49

Please sign in to comment.