Fix that VMD version check was performed for binary not plugin
authorRoland Schulz <roland@utk.edu>
Tue, 3 Jul 2012 00:05:19 +0000 (20:05 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 26 Jul 2012 00:42:51 +0000 (02:42 +0200)
commit5c50b4be67dbca9ac695ac6dc62cb624fd9d0c9e
tree58d00b472bb49e6d203620a2e1098640cea56625
parentad9506707a133acc09f54a09b9733c76e2bea54d
Fix that VMD version check was performed for binary not plugin

Gromacs is not using the VMD binary and thus it is not very
insightful to check the VMD binary version. Also checking the VMD
binary version was potential very slow.
The new code tries to find and load one of the VMD plugins and
check the version of the plugin.

Change-Id: Iba7be9cb742c530ce4edb8963597b8ea467e5520
CMakeLists.txt
cmake/FindVMD.cmake
cmake/TestVMD.c [new file with mode: 0644]
src/gmxlib/vmdio.c