Skip to content

Commit

Permalink
Fix the error that libs2n.a does not exist when compiling in mac (arm…
Browse files Browse the repository at this point in the history
…64) environment
  • Loading branch information
kpretty committed Oct 13, 2024
1 parent 03639c6 commit 92308b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cloud/cmake/thirdparty.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ add_thirdparty(aws-c-mqtt LIB64)
add_thirdparty(aws-checksums LIB64)
add_thirdparty(aws-c-s3 LIB64)
add_thirdparty(aws-c-sdkutils LIB64)
add_thirdparty(aws-s2n LIBNAME "lib/libs2n.a")
if (NOT OS_MACOSX)
add_thirdparty(aws-s2n LIBNAME "lib/libs2n.a")
endif()
# end aws libs
add_thirdparty(jsoncpp LIB64)
add_thirdparty(uuid LIB64)
Expand Down

0 comments on commit 92308b2

Please sign in to comment.