Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan committed Dec 7, 2023
1 parent 0c82bb9 commit f8ba925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/opentelemetry-build-external-component.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit f8ba925

Please sign in to comment.