Skip to content

Commit a0497d3

Browse files
committed
Fix CMake build
1 parent 84cfd91 commit a0497d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ if(FIND_PM_DEPS)
5454
find_package(ArgumentParser CONFIG REQUIRED)
5555
find_package(SwiftDriver CONFIG REQUIRED)
5656
find_package(SwiftCollections CONFIG REQUIRED)
57-
find_package(SwiftASN1 CONFIG REQUIRED)
5857
find_package(SwiftCertificates CONFIG REQUIRED)
5958
endif()
6059

Utilities/bootstrap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,8 @@ def build(args):
357357
build_dependency(args, "swift-crypto")
358358
build_dependency(args, "swift-asn1")
359359
build_dependency(args, "swift-certificates",
360-
["-DSwiftASN1_DIR=" + os.path.join(args.build_dirs["swift-asn1"], "cmake/modules")])
360+
["-DSwiftASN1_DIR=" + os.path.join(args.build_dirs["swift-asn1"], "cmake/modules"),
361+
"-DSwiftCrypto_DIR=" + os.path.join(args.build_dirs["swift-crypto"], "cmake/modules")])
361362
build_swiftpm_with_cmake(args)
362363

363364
build_swiftpm_with_swiftpm(args,integrated_swift_driver=False)

0 commit comments

Comments
 (0)