Build NG gnuradio plugin without PCIe driver

In an attempt to build gr-limesuiteng without PCIe drivers using
-DBUILD_DRIVERS_LIMEPCIE=OFF running make generated dozens of warnings of the example:
LimeSuiteNG/src/protocols/LMS64CProtocol.h:85: warning: Internal inconsistency: member MYRIAD_RD does not belong to any container!
Was this the incorrect way to avoid building the PCIe driver?

It is correct. The warnings you see are from Doxygen documentation generating, you can ignore those warnings.