From ea643d78ed6db2f1663b0e96ce788f3b7c304643 Mon Sep 17 00:00:00 2001 From: Christoph Grueninger <christoph.grueninger@iws.uni-stuttgart.de> Date: Fri, 14 Mar 2014 07:21:04 +0000 Subject: [PATCH] [CMake] Adjust macro add_dumux_test to not violate CMP00046. With CMake 3.0 warns about dependencies to non-existent targets. (reviewed and tested by bernd) git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@12619 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- cmake/modules/DumuxTestMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/DumuxTestMacros.cmake b/cmake/modules/DumuxTestMacros.cmake index cd8d9b860d..d36afc4f26 100644 --- a/cmake/modules/DumuxTestMacros.cmake +++ b/cmake/modules/DumuxTestMacros.cmake @@ -58,5 +58,5 @@ macro(add_dumux_test dumux_test dumux_test_executable dumux_test_executable_sour # add test add_test(${dumux_test} ${dumux_test_args}) - add_dependencies(${_test_target} ${dumux_test}) + add_dependencies(${_test_target} ${dumux_test_executable}) endmacro(add_dumux_test) -- GitLab