File tree 1 file changed +2
-17
lines changed
1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -723,22 +723,6 @@ function(_compile_swift_files
723
723
list (APPEND module_outputs "${interface_file} " "${private_interface_file} " )
724
724
endif ()
725
725
726
- set (optional_arg)
727
- if (SWIFTFILE_SDK IN_LIST SWIFT_DARWIN_PLATFORMS OR
728
- SWIFTFILE_SDK STREQUAL "MACCATALYST" )
729
- # Allow installation of stdlib without building all variants on Darwin.
730
- set (optional_arg "OPTIONAL" )
731
- endif ()
732
-
733
- swift_install_in_component(DIRECTORY "${specific_module_dir} "
734
- DESTINATION "lib${LLVM_LIBDIR_SUFFIX} /swift/${library_subdir} "
735
- COMPONENT "${SWIFTFILE_INSTALL_IN_COMPONENT} " )
736
- if (SWIFTFILE_STATIC)
737
- swift_install_in_component(DIRECTORY "${specific_module_dir_static} "
738
- DESTINATION "lib${LLVM_LIBDIR_SUFFIX} /swift_static/${library_subdir} "
739
- COMPONENT "${SWIFTFILE_INSTALL_IN_COMPONENT} " )
740
- endif ()
741
-
742
726
# macCatalyst zippered module setup
743
727
if (maccatalyst_build_flavor STREQUAL "zippered" )
744
728
compute_library_subdir(maccatalyst_library_subdir
@@ -780,7 +764,8 @@ function(_compile_swift_files
780
764
swift_install_in_component(DIRECTORY ${maccatalyst_specific_module_dir}
781
765
DESTINATION "lib${LLVM_LIBDIR_SUFFIX} /swift/${maccatalyst_library_subdir} "
782
766
COMPONENT "${SWIFTFILE_INSTALL_IN_COMPONENT} "
783
- "${optional_arg} " )
767
+ PATTERN "Project" EXCLUDE
768
+ OPTIONAL )
784
769
endif ()
785
770
786
771
# 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