The gmx binary is a prerequisite for running the regression tests
through ctest; this happens in the internal 'run-ctest' target, not in
the top-level 'check' target. Fix the dependency.
Fixes #1736.
Change-Id: Ie18aeeb9d8b3619e1d1890848c02e6a523266653
# gmxtests target builds all binaries required for running gmxtest
add_custom_target(gmxtests DEPENDS gmx)
# gmxtests target builds all binaries required for running gmxtest
add_custom_target(gmxtests DEPENDS gmx)
- add_dependencies(check gmxtests)
+ add_dependencies(run-ctest gmxtests)
if(GMX_DOUBLE)
list(APPEND ARGS -double)
if(GMX_DOUBLE)
list(APPEND ARGS -double)