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 /crypto | |
parent | 8bce9f9da4f28cff658f55f2c5c3c620bc13785c (diff) | |
download | portable-f819a2bce7a708147df16b5bef21ccaadf7b9913.tar.gz portable-f819a2bce7a708147df16b5bef21ccaadf7b9913.tar.bz2 portable-f819a2bce7a708147df16b5bef21ccaadf7b9913.zip |
Fix cmake linking libraries
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 90e127e..8b66001 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
@@ -814,8 +814,8 @@ target_include_directories(crypto | |||
814 | 814 | ||
815 | if (BUILD_SHARED_LIBS) | 815 | if (BUILD_SHARED_LIBS) |
816 | export_symbol(crypto ${CMAKE_CURRENT_BINARY_DIR}/crypto_p.sym) | 816 | export_symbol(crypto ${CMAKE_CURRENT_BINARY_DIR}/crypto_p.sym) |
817 | target_link_libraries(crypto ${PLATFORM_LDADD}) | ||
817 | if (WIN32) | 818 | if (WIN32) |
818 | target_link_libraries(crypto Ws2_32.lib) | ||
819 | set(CRYPTO_POSTFIX -${CRYPTO_MAJOR_VERSION}) | 819 | set(CRYPTO_POSTFIX -${CRYPTO_MAJOR_VERSION}) |
820 | endif() | 820 | endif() |
821 | set_target_properties(crypto PROPERTIES | 821 | set_target_properties(crypto PROPERTIES |