mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-28 02:06:25 +01:00
- Modified CMakeLists to support zlib
This commit is contained in:
parent
2770fbd651
commit
92eeea4627
5 changed files with 26 additions and 0 deletions
|
|
@ -8,6 +8,10 @@ if(USE_PKCS11_HELPER_LIBRARY)
|
|||
set(libs ${libs} pkcs11-helper)
|
||||
endif(USE_PKCS11_HELPER_LIBRARY)
|
||||
|
||||
if(ENABLE_ZLIB_SUPPORT)
|
||||
set(libs ${libs} ${ZLIB_LIBRARIES})
|
||||
endif(ENABLE_ZLIB_SUPPORT)
|
||||
|
||||
add_executable(selftest selftest.c)
|
||||
target_link_libraries(selftest ${libs})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue