diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2018-10-03 20:35:36 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2018-10-03 20:35:36 +0900 |
commit | f819a2bce7a708147df16b5bef21ccaadf7b9913 (patch) | |
tree | da7b7edf6464cf6392f44c0c47c214e1b5f88313 /tls | |
parent | 8bce9f9da4f28cff658f55f2c5c3c620bc13785c (diff) | |
download | portable-f819a2bce7a708147df16b5bef21ccaadf7b9913.tar.gz portable-f819a2bce7a708147df16b5bef21ccaadf7b9913.tar.bz2 portable-f819a2bce7a708147df16b5bef21ccaadf7b9913.zip |
Fix cmake linking libraries
Diffstat (limited to 'tls')
-rw-r--r-- | tls/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt index 3d6dea4..6dc0501 100644 --- a/tls/CMakeLists.txt +++ b/tls/CMakeLists.txt | |||
@@ -40,9 +40,8 @@ target_include_directories(tls | |||
40 | 40 | ||
41 | if (BUILD_SHARED_LIBS) | 41 | if (BUILD_SHARED_LIBS) |
42 | export_symbol(tls ${CMAKE_CURRENT_SOURCE_DIR}/tls.sym) | 42 | export_symbol(tls ${CMAKE_CURRENT_SOURCE_DIR}/tls.sym) |
43 | target_link_libraries(tls ssl crypto) | 43 | target_link_libraries(tls ssl crypto ${PLATFORM_LDADD}) |
44 | if (WIN32) | 44 | if (WIN32) |
45 | target_link_libraries(tls Ws2_32.lib) | ||
46 | set(TLS_POSTFIX -${TLS_MAJOR_VERSION}) | 45 | set(TLS_POSTFIX -${TLS_MAJOR_VERSION}) |
47 | endif() | 46 | endif() |
48 | set_target_properties(tls PROPERTIES | 47 | set_target_properties(tls PROPERTIES |