From: Teemu Murtola Date: Wed, 13 May 2015 11:41:04 +0000 (+0300) Subject: Fix dependencies for regression test custom target X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=cbd598bc1707c906d82ca685e5ce1b1071e37d26;p=alexxy%2Fgromacs.git Fix dependencies for regression test custom target 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 --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 021be60c6e..ebffac5d7b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -106,7 +106,7 @@ if(REGRESSIONTEST_PATH) # 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)