From 542e7776d55fac68d41a47e6544375eb4d5b1eec Mon Sep 17 00:00:00 2001 From: edoapra Date: Sat, 21 Jan 2023 12:16:52 -0800 Subject: [PATCH] LIBXC_MODDIR location of libxc f90 modules eg. fedora /usr/lib64/gfortran/modules --- src/nwdft/libxc/GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nwdft/libxc/GNUmakefile b/src/nwdft/libxc/GNUmakefile index b40903ee3a..7408c3b118 100644 --- a/src/nwdft/libxc/GNUmakefile +++ b/src/nwdft/libxc/GNUmakefile @@ -21,6 +21,9 @@ LIB_DEFINES += -DXC_MAJOR_VERSION=$(shell grep XC_MAJOR_VERSION $(LIBXC_INCLUDE) LIB_DEFINES += -DLIBXC_NP_SIZE=$(shell ./libxc_findsizenp.sh $(LIBXC_INCLUDE)) LIB_INCLUDES += -I$(LIBXC_INCLUDE) endif +ifdef LIBXC_MODDIR +LIB_INCLUDES += -I$(LIBXC_MODDIR) +endif LIB_INCLUDES += -I.