Look for the various possible names of the gromacs package.
authorM. Eric Irrgang <ericirrgang@gmail.com>
Thu, 29 Oct 2020 21:07:19 +0000 (22:07 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Mon, 23 Nov 2020 16:04:23 +0000 (16:04 +0000)
Refs #3777

python_packaging/src/CMakeLists.txt

index b93d8cd37b0db80829174b2abd4b1ec152b545d5..c75549fc8213ba825f08154b882a04fb168982ff 100644 (file)
@@ -153,6 +153,7 @@ set_target_properties(_gmxapi PROPERTIES
 if(GMXAPI_MASTER_PROJECT)
     # TODO: This requirement is probably overly restrictive.
     find_package(GROMACS 2021 REQUIRED
+                 NAMES gromacs gromacs_mpi
                  HINTS "$ENV{GROMACS_DIR}"
                  )
 endif()