From 24301836251de1cbb7ebdded2eb8481b26c752c6 Mon Sep 17 00:00:00 2001 From: Carlos O'Ryan Date: Sun, 7 May 2023 09:23:49 -0700 Subject: [PATCH] fix: typo in `string(JOIN)` workaround (#12698) My sketch to fix #12672 was wrong. This works for realsies. Closes #12698 COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12698 from coryan:fix-cmake-typo-in-string-join-workaround 182d2e248ee10403541c5ddd07857846a66ae57d PiperOrigin-RevId: 530116824 --- cmake/install.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/install.cmake b/cmake/install.cmake index 8c96981da8..e7eb2103be 100644 --- a/cmake/install.cmake +++ b/cmake/install.cmake @@ -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 ()