Skip to content

Commit e0791b3

Browse files
authored
Merge pull request #2949 from abertelrud/eng/packagedesc-swiftdoc-is-missing-on-darwin
The PackageDescription.swiftdoc file is missing on Darwin
2 parents 6030baa + f75de68 commit e0791b3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Sources/PackageDescription/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ foreach(PACKAGE_DESCRIPTION_VERSION 4 4_2)
5757
if(CMAKE_HOST_SYSTEM_NAME STREQUAL Darwin)
5858
install(FILES
5959
${CMAKE_BINARY_DIR}/pm/${PACKAGE_DESCRIPTION_VERSION}/PackageDescription.swiftinterface
60+
${CMAKE_BINARY_DIR}/pm/${PACKAGE_DESCRIPTION_VERSION}/PackageDescription.swiftdoc
6061
DESTINATION lib/swift/pm/${PACKAGE_DESCRIPTION_VERSION}
6162
)
6263
else()

Utilities/bootstrap

+1-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def install_swiftpm(prefix, args):
389389
files_to_install.append("PackageDescription.swiftinterface")
390390
else:
391391
files_to_install.append("PackageDescription.swiftmodule")
392-
files_to_install.append("PackageDescription.swiftdoc")
392+
files_to_install.append("PackageDescription.swiftdoc")
393393

394394
for file in files_to_install:
395395
src = os.path.join(runtime_lib_src, runtime, file)

0 commit comments

Comments
 (0)