external LIBXC: LIBXC_DIR replaced by LIBXC_INCLUDE/LIBXC_LIB

This commit is contained in:
edoapra 2022-12-15 18:03:26 -08:00
parent 76faf69f4f
commit ab18feab3f
No known key found for this signature in database
GPG key ID: 48E12DA1EDE9E1B0
2 changed files with 4 additions and 4 deletions

View file

@ -3634,9 +3634,9 @@ ifdef USE_LIBXC
endif
# we use an external libxc library out of LIBXC_DIR
ifdef LIBXC_DIR
ifdef LIBXC_LIB
DEFINES += -DUSE_LIBXC
EXTRA_LIBS += -L$(LIBXC_DIR)/lib
EXTRA_LIBS += -L$(LIBXC_LIB)
EXTRA_LIBS += -lxcf03 -lxc
endif

View file

@ -14,8 +14,8 @@ LIB_INCLUDES = -I../include
ifdef USE_LIBXC
LIB_INCLUDES += -I../../libext/libxc/install/include
endif
ifdef LIBXC_DIR
LIB_INCLUDES += -I$(LIBXC_DIR)/include
ifdef LIBXC_INCLUDE
LIB_INCLUDES += -I$(LIBXC_INCLUDE)
endif
LIB_INCLUDES += -I.