remove conda path

This commit is contained in:
Zonghang Li 2025-02-23 01:38:13 +04:00
parent 07a397360b
commit f5e874f75f

View file

@ -274,15 +274,10 @@ endif
ifeq ($(USE_HIGHS),1)
HIGHS_CPPFLAGS = -isystem /usr/local/include/highs
HIGHS_LDFLAGS = -L/usr/local/lib -lhighs
ifeq ($(UNAME_S),Darwin)
HIGHS_CPPFLAGS += -isystem /opt/homebrew/include/highs
HIGHS_LDFLAGS += -L/opt/homebrew/lib -lhighs
else ifneq ($(CONDA_PREFIX),)
HIGHS_CPPFLAGS += -isystem $(CONDA_PREFIX)/include -isystem $(CONDA_PREFIX)/include/highs
HIGHS_LDFLAGS += -L$(CONDA_PREFIX)/lib -Wl,-rpath,$(CONDA_PREFIX)/lib
endif
MK_CPPFLAGS += $(HIGHS_CPPFLAGS) -DUSE_HIGHS
MK_LDFLAGS += $(HIGHS_LDFLAGS)
endif