Skip to content

Commit 259a163

Browse files
Fix module export to respect ed25519 flag (#210)
1 parent d59c198 commit 259a163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/aws-c-cal-config.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ include(CMakeFindDependencyMacro)
22

33
find_dependency(aws-c-common)
44

5-
if (NOT @BYO_CRYPTO@ AND NOT WIN32 AND NOT APPLE) # if NOT BYO_CRYPTO AND NOT WIN32 AND NOT APPLE
6-
if (@USE_OPENSSL@ AND NOT ANDROID) # if USE_OPENSSL AND NOT ANDROID
5+
if (NOT @BYO_CRYPTO@ AND (@AWS_USE_LIBCRYPTO_TO_SUPPORT_ED25519_EVERYWHERE@ OR (NOT WIN32 AND NOT APPLE)))
6+
if (@USE_OPENSSL@ AND NOT ANDROID)
77
# aws-c-cal has been built with a dependency on OpenSSL::Crypto,
88
# therefore consumers of this library have a dependency on OpenSSL and must have it found
99
find_dependency(OpenSSL REQUIRED)

0 commit comments

Comments
 (0)