From b816c6892f1a4eb144c0cedeb7c4e4ef85fcd5db Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Wed, 26 Jun 2024 08:12:23 -0700 Subject: [PATCH] Update CMakeLists.txt Co-authored-by: Jeongseok (JS) Lee Signed-off-by: Steve Peters --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 491d236dd9010..0b57e6c501612 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -435,7 +435,7 @@ add_subdirectory(python) # Add 'ALL' target that builds everything set(all_target_candidates dartpy) if (BUILD_TESTING) - set(all_target_candidates tests_and_run pytest) + list(APPEND all_target_candidates tests_and_run pytest) endif() foreach(target_candidate ${all_target_candidates}) if(TARGET ${target_candidate})