Skip to content

Commit

Permalink
Remove mbedtls library in CMake. (#3)
Browse files Browse the repository at this point in the history
* Remove mbedtls library.

* removed mbedtls lib from README.
  • Loading branch information
Sam Chen authored Jan 14, 2020
1 parent e81a376 commit d397637
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 67 deletions.
7 changes: 1 addition & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ link_directories("${CMAKE_INSTALL_PREFIX}/lib")
# external libs
include(cmake/embear_logger.cmake)
include(cmake/keccak.cmake)
include(cmake/mbedtls.cmake)
include(cmake/unity.cmake)
include(cmake/uthash.cmake)

Expand Down Expand Up @@ -157,16 +156,12 @@ add_dependencies(common
ext_uthash
ext_keccak
ext_embear_logger
ext_mbedtls
)

target_link_libraries(common PUBLIC
Threads::Threads
keccak
logger
mbedtls
mbedcrypto
mbedx509)
logger)

# install
install(TARGETS common DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ target_include_directories(<target> <PRIVATE|PUBLIC>
target_link_libraries(<target> <PRIVATE|PUBLIC>
logger
keccak
mbedtls
mbedcrypto
mbedx509
)
```
Expand Down
58 changes: 0 additions & 58 deletions cmake/mbedtls.cmake

This file was deleted.

0 comments on commit d397637

Please sign in to comment.