Skip to content

Commit

Permalink
Fix cmake to work with OE >=0.13 (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Amaury Chamayou <[email protected]>
  • Loading branch information
achamayou authored Apr 29, 2021
1 parent d9b9171 commit 70e7245
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@ add_custom_target(dummy ALL DEPENDS libcurl)

target_link_libraries(libcurl
openenclave::oeenclave
openenclave::oecryptombedtls
openenclave::oelibcxx
openenclave::oehostsock
openenclave::oehostresolver
)

target_include_directories(libcurl PUBLIC ${OE_INCLUDEDIR}/openenclave/3rdparty)

target_sources(libcurl PRIVATE stubs_undefined.c)

install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/curl/include DESTINATION include/oecurl)
Expand Down

0 comments on commit 70e7245

Please sign in to comment.