Skip to content

Commit

Permalink
try to fix brew path in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
gisogrimm committed Oct 29, 2024
1 parent 0df5ba9 commit 86e09cb
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,13 @@ else
OSFLAG += -D OSX
LDFLAGS += -framework IOKit -framework CoreFoundation -headerpad_max_install_names
LDLIBS += -lfftw3f -lsamplerate -lc++ -lcpprest -lcrypto -lssl -lboost_filesystem -lsoundio
CXXFLAGS += -I`brew --prefix libsoundio`/include
LDFLAGS += -L`brew --prefix libsoundio`/lib
OPENSSL_ROOT=$(shell brew --prefix openssl)
CPPREST_ROOT=$(shell brew --prefix cpprestsdk)
SOUNDIO_ROOT:=$(shell brew --prefix libsoundio)
OPENSSL_ROOT:=$(shell brew --prefix openssl)
CPPREST_ROOT:=$(shell brew --prefix cpprestsdk)
BOOST_ROOT=$(shell brew --prefix boost)
NLOHMANN_JSON_ROOT=$(shell brew --prefix nlohmann-json)
CXXFLAGS += -I$(OPENSSL_ROOT)/include/openssl -I$(OPENSSL_ROOT)/include -I$(BOOST_ROOT)/include -I$(NLOHMANN_JSON_ROOT)/include
LDFLAGS += -L$(OPENSSL_ROOT)/lib -L$(CPPREST_ROOT)/lib -L$(BOOST_ROOT)/lib
CXXFLAGS += -I$(SOUNDIO_ROOT)/include -I$(OPENSSL_ROOT)/include/openssl -I$(OPENSSL_ROOT)/include -I$(BOOST_ROOT)/include -I$(NLOHMANN_JSON_ROOT)/include
LDFLAGS += -L$(SOUNDIO_ROOT)/lib -L$(OPENSSL_ROOT)/lib -L$(CPPREST_ROOT)/lib -L$(BOOST_ROOT)/lib
# EXTERNALS += nlohmann-json
ZITATARGET = zita
endif
Expand Down

0 comments on commit 86e09cb

Please sign in to comment.