diff --git a/Sources/FoundationMacros/CMakeLists.txt b/Sources/FoundationMacros/CMakeLists.txt index edeb71a69..0cc31c299 100644 --- a/Sources/FoundationMacros/CMakeLists.txt +++ b/Sources/FoundationMacros/CMakeLists.txt @@ -57,5 +57,3 @@ install(TARGETS FoundationMacros ARCHIVE DESTINATION lib/swift/host/plugins LIBRARY DESTINATION lib/swift/host/plugins RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -install(FILES $ - DESTINATION lib) diff --git a/cmake/modules/SwiftFoundationSwiftSupport.cmake b/cmake/modules/SwiftFoundationSwiftSupport.cmake index ca23af796..cbdfc2aef 100644 --- a/cmake/modules/SwiftFoundationSwiftSupport.cmake +++ b/cmake/modules/SwiftFoundationSwiftSupport.cmake @@ -50,6 +50,5 @@ function(_swift_foundation_install_target module) install(FILES $/${module_name}.swiftmodule DESTINATION lib/${swift}/${swift_os}/${module_name}.swiftmodule RENAME ${SwiftFoundation_MODULE_TRIPLE}.swiftmodule) - install(FILES $ - DESTINATION lib) + endfunction()