Disable GMXAPI when only building mdrun
authorPaul Bauer <paul.bauer.q@gmail.com>
Wed, 3 Oct 2018 11:45:58 +0000 (13:45 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 3 Oct 2018 16:35:47 +0000 (18:35 +0200)
commitf05ed67bfcbcc242d856f0ebf7c31f743a9acd70
tree123c03cfba9464d921af5666b2eb4c2cfe6072b0
parent7a90bcdbbcd77c94a2834b91d831e5ab49c8a07d
Disable GMXAPI when only building mdrun

GMXAPI depends intrinsicly on the different modules in the libgromacs
library and does not function without them. To make sure it can only be
used when it can actually work, it has been now disabled when only mdrun
is being build.

Fixes #2663

Change-Id: I9cc50a0196aec921ff3e40ad6eca837dfa3e281b
src/CMakeLists.txt