Skip to content

Commit

Permalink
removed two 2's
Browse files Browse the repository at this point in the history
  • Loading branch information
RoseZhang03 committed Jul 17, 2024
1 parent 50da8f0 commit 5e45051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libc/cmake/modules/LLVMLibCHeaderRules.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function(add_gen_header2 target_name)

set(fq_data_files "")
if(ADD_GEN_HDR2_DATA_FILES)
foreach(data_file IN 2LISTS ADD_GEN_HDR2_DATA_FILES)
foreach(data_file IN LISTS ADD_GEN_HDR2_DATA_FILES)
list(APPEND fq_data_files "${CMAKE_CURRENT_SOURCE_DIR}/${data_file}")
endforeach(data_file)
endif()
Expand Down Expand Up @@ -132,7 +132,7 @@ function(add_gen_header2 target_name)
endif()

if(ADD_GEN_HDR2_DEPENDS)
get_fq_deps_list(f2q_deps_list ${ADD_GEN_HDR2_DEPENDS})
get_fq_deps_list(fq_deps_list ${ADD_GEN_HDR2_DEPENDS})
# Dependencies of a add_header target can only be another add_gen_header target
# or an add_header target.
foreach(dep IN LISTS fq_deps_list)
Expand Down

0 comments on commit 5e45051

Please sign in to comment.