From 9d20d4e8dd43eaaa9b8092b5a503d80d7a09e4bf Mon Sep 17 00:00:00 2001 From: Jonathan Schwender Date: Thu, 4 Apr 2024 19:29:02 +0200 Subject: [PATCH] Remove duplicate line line 71 does the same thing. (cherry picked from commit 5bfa8acaf45600658b6eaebf6dd0d92649d615a8) --- cmake/CorrosionGenerator.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/CorrosionGenerator.cmake b/cmake/CorrosionGenerator.cmake index 3500c922..128fb12c 100644 --- a/cmake/CorrosionGenerator.cmake +++ b/cmake/CorrosionGenerator.cmake @@ -79,7 +79,6 @@ function(_generator_add_package_targets) string(JSON target_name GET "${target}" "name") string(JSON target_kind GET "${target}" "kind") string(JSON target_kind_len LENGTH "${target_kind}") - string(JSON target_name GET "${target}" "name") math(EXPR target_kind_len-1 "${target_kind_len} - 1") set(kinds)