use pkg-config instead of pkgconf consistently, since the latter comes with compatibility to the former

This commit is contained in:
Axel Kohlmeyer
2024-07-03 21:21:35 -04:00
parent 3385198b51
commit f94b078936
4 changed files with 10 additions and 10 deletions

View File

@ -46,8 +46,8 @@ QELIBS += -lgfortran -lmpi_mpifh
# part 3: add-on libraries and main library for LAMMPS
sinclude ../../src/Makefile.package
LAMMPSFLAGS = $(shell pkgconf liblammps --cflags)
LAMMPSLIB = $(shell pkgconf liblammps --libs)
LAMMPSFLAGS = $(shell pkg-config --cflags liblammps)
LAMMPSLIB = $(shell pkg-config --libs liblammps)
# part 4: local QM/MM library and progams
SRC=pwqmmm.c libqmmm.c

View File

@ -101,7 +101,7 @@ Makefile.gfortran-cmake and make adjustments to the makefile variables
according to the comments in the file. You probably need to adjust
the QETOPDIR variable to point to the location of your QE
compilation/installation.
Please also check that the command "pkgconf liblammps --libs" works.
Please also check that the command "pkg-config --libs liblammps" works.
Then you should be able to compile the QM/MM executable with:
make -f Makefile.gfortran-cmake pwqmmm.x