Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install OpenSSL
run: brew install openssl@3

- name: Build
run: |
make
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ CXXFLAGS = --std=c++17
LDLIBS = -lcrypto

# next flags only for macos
# change paths to your location of openssl@1.1
# change paths to your location of openssl@3
ifdef HOMEBREW_PREFIX
OUTPUT_OPTION += -I$(HOMEBREW_PREFIX)/opt/openssl@1.1/include
LDLIBS += -L$(HOMEBREW_PREFIX)/opt/openssl@1.1/lib
OUTPUT_OPTION += -I$(HOMEBREW_PREFIX)/opt/openssl@3/include
LDLIBS += -L$(HOMEBREW_PREFIX)/opt/openssl@3/lib
endif

objects = $(patsubst $(dir_source)/%.cpp, $(dir_build)/%.o, \
Expand Down