Skip to content

Commit

Permalink
fix variable not exported
Browse files Browse the repository at this point in the history
Signed-off-by: Fs <[email protected]>
  • Loading branch information
Fsu0413 committed Jan 18, 2024
1 parent 45229d9 commit 5beace8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/OpenSslExternalCMakeCheckArchitecture.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ function(openssl_external_cmake_detect_target_arch arch)
# Known conversions: Apple can define CMAKE_OSX_ARCHITECTURES, which will result in a multi-architecture build
if (APPLE AND CMAKE_OSX_ARCHITECTURES)
list(LENGTH CMAKE_OSX_ARCHITECTURES OPENSSL_OSX_ARCHITECTURES_LENGTH)
set(OPENSSL_OSX_ARCHITECTURES_LENGTH "${OPENSSL_OSX_ARCHITECTURES_LENGTH}" PARENT_SCOPE)

if (OPENSSL_OSX_ARCHITECTURES_LENGTH GREATER 1)
if (OPENSSL_ASM)
# TODO: complete this when CMake supports building different sets of file for different architectures
Expand Down

0 comments on commit 5beace8

Please sign in to comment.