mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 16:55:42 +01:00
- Add Windows required library
This commit is contained in:
parent
62f88dc473
commit
2a5c7a87af
@ -43,6 +43,10 @@ set(src
|
||||
xtea.c
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
set(libs ws2_32)
|
||||
endif(WIN32)
|
||||
|
||||
if(NOT USE_SHARED_POLARSSL_LIBRARY)
|
||||
|
||||
add_library(polarssl STATIC ${src})
|
||||
@ -54,6 +58,8 @@ set_target_properties(polarssl PROPERTIES VERSION 1.1.1 SOVERSION 1)
|
||||
|
||||
endif(NOT USE_SHARED_POLARSSL_LIBRARY)
|
||||
|
||||
target_link_libraries(polarssl ${libs})
|
||||
|
||||
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 New Issue
Block a user