G09 qmmm on Linux Cluster not set up properly

GROMACS version: 2019.6
GROMACS modification:No
When I run a qmmm simulation, gromacs returns an error that I don’t have the proper configuration for qmmm. This is the error in forecrec.cpp:

Software inconsistency error:
QM/MM was requested, but is only available when GROMACS is configured with
QM/MM support

How can I do this for gromacs 2019.6? I used these options to install explicitly the qmmm interface for Gaussian:

gromacs will add -march=core-avx2 to the next line

OPTFLAGS="-Ofast -mtune=broadwell -DNDEBUG"

cmake3 … -DCMAKE_BUILD_TYPE=Release \










make -j 10

make check

make install

Since I checked with grep that there are the qmmm binaries in src, I think it is an issue with how I sete environment variables for gromacs to talk to g09. I tried my best to follow these instructions here: QM/MM implementation in Gromacs

Any help greatly appreciated!