Skip to content

Commit

Permalink
cmake: fix dependency typo in ngen_add_test
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Miller - NOAA <[email protected]>
  • Loading branch information
program-- and PhilMiller authored Dec 28, 2023
1 parent f31ffb2 commit 04fd699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 04fd699

Please sign in to comment.