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 @@ -723,22 +723,6 @@ function(_compile_swift_files
723723 list (APPEND module_outputs "${interface_file} " "${private_interface_file} " )
724724 endif ()
725725
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-
742726 # macCatalyst zippered module setup
743727 if (maccatalyst_build_flavor STREQUAL "zippered" )
744728 compute_library_subdir(maccatalyst_library_subdir
@@ -780,7 +764,8 @@ function(_compile_swift_files
780764 swift_install_in_component(DIRECTORY ${maccatalyst_specific_module_dir}
781765 DESTINATION "lib${LLVM_LIBDIR_SUFFIX} /swift/${maccatalyst_library_subdir} "
782766 COMPONENT "${SWIFTFILE_INSTALL_IN_COMPONENT} "
783- "${optional_arg} " )
767+ PATTERN "Project" EXCLUDE
768+ OPTIONAL )
784769 endif ()
785770
786771 # 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