Skip to content

Commit 9e30ae3

Browse files
committed
build: fix parameter name in cmake
Fix the parameter name in `_add_swift_library_single` which would previously not pass any value for the `INSTALL_IN_COMPONENT` due to a missed alteration when the function was refactored. Spotted by inspection.
1 parent 9a4d2a3 commit 9e30ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ function(_add_swift_library_single target name)
866866
${SWIFTLIB_SINGLE_IS_STDLIB_CORE_keyword}
867867
${SWIFTLIB_SINGLE_IS_SDK_OVERLAY_keyword}
868868
${embed_bitcode_arg}
869-
INSTALL_IN_COMPONENT "${SWIFTLIB_INSTALL_IN_COMPONENT}")
869+
INSTALL_IN_COMPONENT "${SWIFTLIB_SINGLE_INSTALL_IN_COMPONENT}")
870870
add_swift_source_group("${SWIFTLIB_SINGLE_EXTERNAL_SOURCES}")
871871

872872
# If there were any swift sources, then a .swiftmodule may have been created.

0 commit comments

Comments
 (0)