aboutsummaryrefslogtreecommitdiff
path: root/ssl
diff options
context:
space:
mode:
authorSatoshi Yasushima <yasushima-gd@users.noreply.github.com>2016-08-25 18:17:27 +0900
committerSatoshi Yasushima <yasushima-gd@users.noreply.github.com>2016-08-25 18:17:27 +0900
commit829b21581fc93085faeced35b3c75376b0de6ae2 (patch)
treeb74c39e6806268b6ee2d5ffd72f0d98e483d2a92 /ssl
parent971892766db26560f7cc34b78750cac149867425 (diff)
downloadportable-829b21581fc93085faeced35b3c75376b0de6ae2.tar.gz
portable-829b21581fc93085faeced35b3c75376b0de6ae2.tar.bz2
portable-829b21581fc93085faeced35b3c75376b0de6ae2.zip
build Windows DLL on CMake
like below. * libcrypto-38.dll * libssl-39.dll * libtls-11.dll
Diffstat (limited to 'ssl')
-rw-r--r--ssl/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt
index 7f53e14..0aac799 100644
--- a/ssl/CMakeLists.txt
+++ b/ssl/CMakeLists.txt
@@ -54,8 +54,10 @@ if (BUILD_SHARED)
54 add_library(ssl-shared SHARED $<TARGET_OBJECTS:ssl-objects>) 54 add_library(ssl-shared SHARED $<TARGET_OBJECTS:ssl-objects>)
55 if (WIN32) 55 if (WIN32)
56 target_link_libraries(ssl-shared crypto-shared Ws2_32.lib) 56 target_link_libraries(ssl-shared crypto-shared Ws2_32.lib)
57 set(SSL_POSTFIX -${SSL_MAJOR_VERSION})
57 endif() 58 endif()
58 set_target_properties(ssl-shared PROPERTIES OUTPUT_NAME ssl) 59 set_target_properties(ssl-shared PROPERTIES
60 OUTPUT_NAME ssl${SSL_POSTFIX} ARCHIVE_OUTPUT_NAME ssl)
59 set_target_properties(ssl-shared PROPERTIES VERSION ${SSL_VERSION} 61 set_target_properties(ssl-shared PROPERTIES VERSION ${SSL_VERSION}
60 SOVERSION ${SSL_MAJOR_VERSION}) 62 SOVERSION ${SSL_MAJOR_VERSION})
61 install(TARGETS ssl ssl-shared DESTINATION lib) 63 install(TARGETS ssl ssl-shared DESTINATION lib)