mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-06 18:49:04 +00:00
include conda path only on Linux (if installing highs on Linux via conda)
This commit is contained in:
parent
73ed4dec68
commit
106ff79f08
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -269,11 +269,11 @@ ifeq ($(UNAME_S),Darwin)
|
|||
else ifeq ($(UNAME_S),Linux)
|
||||
MK_CPPFLAGS += -isystem /usr/local/include -isystem /usr/local/include/highs
|
||||
MK_LDFLAGS += -L/usr/local/lib -lzmq -lhighs
|
||||
endif
|
||||
|
||||
ifneq ($(CONDA_PREFIX),)
|
||||
MK_CPPFLAGS += -isystem $(CONDA_PREFIX)/include -isystem $(CONDA_PREFIX)/include/highs
|
||||
MK_LDFLAGS += -L$(CONDA_PREFIX)/lib
|
||||
|
||||
ifneq ($(CONDA_PREFIX),)
|
||||
MK_CPPFLAGS += -isystem $(CONDA_PREFIX)/include -isystem $(CONDA_PREFIX)/include/highs
|
||||
MK_LDFLAGS += -L$(CONDA_PREFIX)/lib
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef LLAMA_NO_CCACHE
|
||||
|
|
Loading…
Add table
Reference in a new issue