mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 12:08:24 +00:00
Link against ZLIB when zlib is used
Signed-off-by: Paul Bakker <p.j.bakker@polarssl.org>
This commit is contained in:
parent
28d81a009c
commit
c245834bc4
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@ endif(NOT USE_SHARED_POLARSSL_LIBRARY)
|
|||
|
||||
target_link_libraries(polarssl ${libs})
|
||||
|
||||
if(ZLIB_FOUND)
|
||||
target_link_libraries(polarssl ${ZLIB_LIBRARIES})
|
||||
endif(ZLIB_FOUND)
|
||||
|
||||
install(TARGETS polarssl
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
|
||||
|
|
Loading…
Reference in a new issue