mirror of
https://github.com/apple/swift-crypto
synced 2026-11-29 05:14:21 +00:00
Set CRYPTO_IN_SWIFTPM (#177)
Needed to expose SecureEncalve through SwiftCrypto when building for Swift-Certificates. CRYPTO_IN_SWIFTPM is set all of the time in package.swift, while CRYPTO_IN_SWIFTPM_FORCE_BUILD_API is only set in development. Lets enable the one that's on all of the time, and remove the one that isn't so that we get our declarations.
This commit is contained in:
1 parent
65f8c60ab3
commit
33a20e650c
1 file changed
+1
-1
@@ -82,7 +82,7 @@ add_library(Crypto
|
||||
"Util/Zeroization.swift")
|
||||
|
||||
target_compile_definitions(Crypto PRIVATE
|
||||
CRYPTO_IN_SWIFTPM_FORCE_BUILD_API)
|
||||
"$<$<COMPILE_LANGUAGE:Swift>:CRYPTO_IN_SWIFTPM>")
|
||||
target_include_directories(Crypto PRIVATE
|
||||
$<TARGET_PROPERTY:CCryptoBoringSSL,INCLUDE_DIRECTORIES>
|
||||
$<TARGET_PROPERTY:CCryptoBoringSSLShims,INCLUDE_DIRECTORIES>
|
||||
|
||||
Reference in new issue
Block a user