OpenBioSim/sire

[BUG] OpenMMPMEFep wrappers aren't excluded when OpenMM is missing

Closed this issue · 1 comments

We need to add the OpenMMPMEFep wrappers to wrapper/Move/CMakeOpenMMFile.txt to make sure that they are excluded when OpenMM isn't available. Currently it only has:

# WARNING - AUTOGENERATED FILE - CONTENTS WILL BE OVERWRITTEN!
set ( PYPP_OPENMM_SOURCES
       OpenMMMDIntegrator.pypp.cpp
       OpenMMFrEnergyDT.pypp.cpp
       OpenMMFrEnergyST.pypp.cpp
    )

(I'm not sure if this file was autogenerated since the only mention of the file name is within wrapper/Move/CMakeLists.txt itself.)

Ah, I see, there is also a wrapper/Move/CMakeOpenMM.txt file that is presumably injected into the above file. This is the one that needs to be updated.