From f8ba92519e7afecae462e3164b5e589c54435c04 Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Thu, 7 Dec 2023 14:40:46 -0800 Subject: [PATCH] Fix typo --- cmake/opentelemetry-build-external-component.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/opentelemetry-build-external-component.cmake b/cmake/opentelemetry-build-external-component.cmake index b2a2ddfed3..bd82b3f471 100644 --- a/cmake/opentelemetry-build-external-component.cmake +++ b/cmake/opentelemetry-build-external-component.cmake @@ -13,14 +13,14 @@ if(OPENTELEMETRY_EXTERNAL_COMPONENT_PATH) # Add custom component path to build tree and consolidate binary artifacts in # current project binary output directory. - foreach(DIR IN LSITS OPENTELEMETRY_EXTERNAL_COMPONENT_PATH) + foreach(DIR IN LISTS OPENTELEMETRY_EXTERNAL_COMPONENT_PATH) add_subdirectory(${DIR} ${PROJECT_BINARY_DIR}/external) endforeach() elseif(DEFINED ENV{OPENTELEMETRY_EXTERNAL_COMPONENT_PATH}) # Add custom component path to build tree and consolidate binary artifacts in # current project binary output directory. set(OPENTELEMETRY_EXTERNAL_COMPONENT_PATH_VAR $ENV{OPENTELEMETRY_EXTERNAL_COMPONENT_PATH}) - foreach(DIR IN LSITS OPENTELEMETRY_EXTERNAL_COMPONENT_PATH_VAR) + foreach(DIR IN LISTS OPENTELEMETRY_EXTERNAL_COMPONENT_PATH_VAR) add_subdirectory(${DIR} ${PROJECT_BINARY_DIR}/external) endforeach() elseif(DEFINED $ENV{OPENTELEMETRY_EXTERNAL_COMPONENT_URL})