diff options
author | Satoshi Yasushima <yasushima-gd@users.noreply.github.com> | 2016-08-25 18:17:12 +0900 |
---|---|---|
committer | Satoshi Yasushima <yasushima-gd@users.noreply.github.com> | 2016-08-25 18:17:12 +0900 |
commit | 971892766db26560f7cc34b78750cac149867425 (patch) | |
tree | 0f79d8a26a3519d48c25cac77d2b71faf5c33fc5 /ssl | |
parent | 8edd509e2c42219ec1104913e6597332b9e5f2e9 (diff) | |
download | portable-971892766db26560f7cc34b78750cac149867425.tar.gz portable-971892766db26560f7cc34b78750cac149867425.tar.bz2 portable-971892766db26560f7cc34b78750cac149867425.zip |
build MinGW on CMake
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/CMakeLists.txt b/ssl/CMakeLists.txt index e836047..7f53e14 100644 --- a/ssl/CMakeLists.txt +++ b/ssl/CMakeLists.txt | |||
@@ -52,7 +52,7 @@ if (BUILD_SHARED) | |||
52 | add_library(ssl-objects OBJECT ${SSL_SRC}) | 52 | add_library(ssl-objects OBJECT ${SSL_SRC}) |
53 | add_library(ssl STATIC $<TARGET_OBJECTS:ssl-objects>) | 53 | add_library(ssl STATIC $<TARGET_OBJECTS:ssl-objects>) |
54 | add_library(ssl-shared SHARED $<TARGET_OBJECTS:ssl-objects>) | 54 | add_library(ssl-shared SHARED $<TARGET_OBJECTS:ssl-objects>) |
55 | if (MSVC) | 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 | endif() | 57 | endif() |
58 | set_target_properties(ssl-shared PROPERTIES OUTPUT_NAME ssl) | 58 | set_target_properties(ssl-shared PROPERTIES OUTPUT_NAME ssl) |