File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -721,22 +721,6 @@ function(_compile_swift_files
721
721
list (APPEND module_outputs "${interface_file} " "${private_interface_file} " )
722
722
endif ()
723
723
724
- set (optional_arg )
725
- if (SWIFTFILE_SDK IN_LIST SWIFT_DARWIN_PLATFORMS OR
726
- SWIFTFILE_SDK STREQUAL "MACCATALYST" )
727
- # Allow installation of stdlib without building all variants on Darwin.
728
- set (optional_arg "OPTIONAL" )
729
- endif ()
730
-
731
- swift_install_in_component (DIRECTORY "${specific_module_dir} "
732
- DESTINATION "lib${LLVM_LIBDIR_SUFFIX} /swift/${library_subdir} "
733
- COMPONENT "${SWIFTFILE_INSTALL_IN_COMPONENT} " )
734
- if (SWIFTFILE_STATIC )
735
- swift_install_in_component (DIRECTORY "${specific_module_dir_static} "
736
- DESTINATION "lib${LLVM_LIBDIR_SUFFIX} /swift_static/${library_subdir} "
737
- COMPONENT "${SWIFTFILE_INSTALL_IN_COMPONENT} " )
738
- endif ()
739
-
740
724
# macCatalyst zippered module setup
741
725
if (maccatalyst_build_flavor STREQUAL "zippered" )
742
726
compute_library_subdir (maccatalyst_library_subdir
@@ -778,7 +762,8 @@ function(_compile_swift_files
778
762
swift_install_in_component (DIRECTORY ${maccatalyst_specific_module_dir}
779
763
DESTINATION "lib${LLVM_LIBDIR_SUFFIX} /swift/${maccatalyst_library_subdir} "
780
764
COMPONENT "${SWIFTFILE_INSTALL_IN_COMPONENT} "
781
- "${optional_arg} " )
765
+ PATTERN "Project" EXCLUDE
766
+ OPTIONAL )
782
767
endif ()
783
768
784
769
# If we have extra regexp flags, check if we match any of the regexps. If so
You can’t perform that action at this time.
0 commit comments