"OS X should build Python package for 64-bit architecture"
FORCE)
-project(gmxapi VERSION 0.1.0)
+# Note that this is the gmxapi._gmxapi Python bindings package version,
+# not the C++ API version. It is not essential that it match the pure Python
+# package version, but is likely to do so.
+project(gmxapi VERSION 0.2.0)
# Check if Python package is being built directly or via add_subdirectory
set(GMXAPI_MASTER_PROJECT OFF)
endif()
if(GMXAPI_MASTER_PROJECT)
- find_package(gmxapi 0.0.8 REQUIRED
+ # TODO: Retain compatibility with libgmxapi 0.1 and back down the requirement.
+ find_package(gmxapi 0.2.0 REQUIRED
HINTS "$ENV{GROMACS_DIR}"
)
endif()
LIBRARY_OUTPUT_DIRECTORY ${GMXAPI_PYTHON_STAGING_DIR}/gmxapi)
if(GMXAPI_MASTER_PROJECT)
+ # TODO: This requirement is probably overly restrictive.
find_package(GROMACS 2021 REQUIRED
HINTS "$ENV{GROMACS_DIR}"
)