Fix test build with GMX_BUILD_MDRUN_ONLY
authorTeemu Murtola <teemu.murtola@gmail.com>
Wed, 4 Dec 2013 18:23:26 +0000 (20:23 +0200)
committerTeemu Murtola <teemu.murtola@gmail.com>
Wed, 4 Dec 2013 18:26:25 +0000 (20:26 +0200)
commit5706b621e0d7ad39fdd43efa7691e12682c09f73
treed715aa5e7b7bcf260468b429586d57f0e3f27baa
parentcc819af8c6691d70a84f76ae622f604f83ebf440
Fix test build with GMX_BUILD_MDRUN_ONLY

Removed the tests from such builds to resolve CMake errors.
The tests cannot in any case be run without non-mdrun code.
Got broken in I8072355.

Also moved the object library for gmx view such that it doesn't get
unnecessary built with GMX_BUILD_MDRUN_ONLY.

Change-Id: I52c19d695680f5bd94deaae712d2d10e3364dfa6
src/programs/CMakeLists.txt