Interaction of BUILD_SHARED_LIBS with other CMake parameters
When using `-DBUILD_SHARED_LIBS=OFF` then it also requires to set both `-DGMXAPI=OFF -DGMX_INSTALL_NBLIB_API=OFF`. Maybe that should be done automatically within CMake scripts?
issue