Skip to content

Commit

Permalink
fix: typo in string(JOIN) workaround (#12698)
Browse files Browse the repository at this point in the history
My sketch to fix #12672 was wrong.  This works for realsies.

Closes #12698

COPYBARA_INTEGRATE_REVIEW=#12698 from coryan:fix-cmake-typo-in-string-join-workaround 182d2e2
PiperOrigin-RevId: 530116824
  • Loading branch information
coryan authored and fowles committed May 7, 2023
1 parent 1ca4e9c commit 28c9905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ list(APPEND _pc_targets "utf8_range")

set(_protobuf_PC_REQUIRES "")
set(_sep "")
foreach (_target IN LISTS _pc_target_list)
foreach (_target IN LISTS _pc_targets)
string(CONCAT _protobuf_PC_REQUIRES "${_protobuf_PC_REQUIRES}" "${_sep}" "${_target}")
set(_sep " ")
endforeach ()
Expand Down

0 comments on commit 28c9905

Please sign in to comment.