mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
- Adapted CMake files for the PKCS#11 support
This commit is contained in:
parent
d61e7d98cb
commit
b06819bb5d
6 changed files with 44 additions and 9 deletions
|
|
@ -1,11 +1,19 @@
|
|||
set(libs
|
||||
polarssl
|
||||
)
|
||||
|
||||
if(USE_PKCS11_HELPER_LIBRARY)
|
||||
set(libs ${libs} pkcs11-helper)
|
||||
endif(USE_PKCS11_HELPER_LIBRARY)
|
||||
|
||||
add_executable(ssl_client1 ssl_client1.c)
|
||||
target_link_libraries(ssl_client1 polarssl)
|
||||
target_link_libraries(ssl_client1 ${libs})
|
||||
|
||||
add_executable(ssl_client2 ssl_client2.c)
|
||||
target_link_libraries(ssl_client2 polarssl)
|
||||
target_link_libraries(ssl_client2 ${libs})
|
||||
|
||||
add_executable(ssl_server ssl_server.c)
|
||||
target_link_libraries(ssl_server polarssl)
|
||||
target_link_libraries(ssl_server ${libs})
|
||||
|
||||
INSTALL(TARGETS ssl_client1 ssl_client2 ssl_server
|
||||
DESTINATION "bin"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue