Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for open enclave version 0.13 and later #19

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ cmake_policy(SET CMP0079 NEW)

find_package(openenclave REQUIRED CONFIG)

# openenclave crypto lib setting since version 0.13
set(OE_CRYPTO_LIB
mbedtls
CACHE STRING "Crypto library used by enclaves.")

# libcurl for use in enclaves
set(BUILD_CURL_EXE OFF CACHE BOOL "" FORCE)
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
Expand Down Expand Up @@ -50,6 +55,7 @@ target_link_libraries(libcurl
openenclave::oelibcxx
openenclave::oehostsock
openenclave::oehostresolver
openenclave::oecrypto${OE_CRYPTO_LIB}
)

target_sources(libcurl PRIVATE stubs_undefined.c)
Expand Down