From 04fd6995f2fe7bdfc3e0956d8dc8183b4838bd55 Mon Sep 17 00:00:00 2001 From: "Justin Singh-M. - NOAA" Date: Thu, 28 Dec 2023 12:40:32 -0800 Subject: [PATCH] cmake: fix dependency typo in ngen_add_test Co-authored-by: Phil Miller - NOAA --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index cdfb66b1f2..c9dad87d84 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -107,7 +107,7 @@ function(ngen_add_test TESTNAME) # IF the dependency is a target. foreach(dependency IN LISTS NGEN_TEST_DEPENDS) if(TARGET ${dependency}) - add_dependencies(${TESTNAME} ${NGEN_TEST_DEPENDS}) + add_dependencies(${TESTNAME} ${dependency}) endif() endforeach()