mirror of
https://github.com/apple/swift-crypto
synced 2026-11-25 04:47:47 +00:00
### Checklist - [X] I've run tests to see all new and existing tests pass - [X] I've followed the code style of the rest of the project - [X] I've read the [Contribution Guidelines](CONTRIBUTING.md) - [X] I've updated the documentation if necessary #### If you've made changes to `gyb` files - [X] I've run `.script/generate_boilerplate_files_with_gyb` and included updated generated files in a commit of this pull request ### Motivation: When building SwiftPM with CMake and the swift-crypto package there are errors being produced on macOS relating to missing imports provided by the CryptoKit package. ### Modifications: Modify the CMakeLists.txt file for the Crypto target so that the defines are set like they are in the Package.swift. ### Result: After the change, building SwiftPM with CMake on macOS should work.