Skip to content

Commit 631ee8b

Browse files
committed
Make fb80b6b actually work.
I broke it with last-minute changes right before committing. Differential Revision: https://reviews.llvm.org/D77184
1 parent bf7a16a commit 631ee8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/cmake/modules/AddLLVM.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ function(configure_lit_site_cfg site_in site_out)
14731473
set(TARGET_TRIPLE "\"+config.target_triple+\"")
14741474
endif()
14751475

1476-
if (ARG_PATH_VALUES)
1476+
if (ARG_PATHS)
14771477
# Walk ARG_PATHS and collect the current value of the variables in there.
14781478
foreach(path ${ARG_PATHS})
14791479
list(APPEND ARG_PATH_VALUES "${${path}}")
@@ -1495,7 +1495,7 @@ function(configure_lit_site_cfg site_in site_out)
14951495
list(LENGTH ARG_PATH_VALUES len_path_values)
14961496
list(LENGTH ARG_PATH_VALUES_RELATIVE len_path_value_rels)
14971497
if ((NOT ${len_paths} EQUAL ${len_path_values}) OR
1498-
(NOT ${len_paths} EQUAL ${path_value_len_rels}))
1498+
(NOT ${len_paths} EQUAL ${len_path_value_rels}))
14991499
message(SEND_ERROR "PATHS lengths got confused")
15001500
endif()
15011501

0 commit comments

Comments
 (0)