diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2021-05-02 15:50:37 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2021-05-07 20:31:22 +0900 |
commit | 4c56df46de18da692785ed337910ab852c34e0ce (patch) | |
tree | 0096e13212ac46cf6d7e59c65353c8183ee52000 /CMakeLists.txt | |
parent | 9971b0820c72a7be267e562f6002439b06103b94 (diff) | |
download | portable-4c56df46de18da692785ed337910ab852c34e0ce.tar.gz portable-4c56df46de18da692785ed337910ab852c34e0ce.tar.bz2 portable-4c56df46de18da692785ed337910ab852c34e0ce.zip |
Statically link libcrypto/ssl into libtls with cmake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4183499..838b7e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -331,7 +331,8 @@ if(SIZEOF_TIME_T STREQUAL "4") | |||
331 | endif() | 331 | endif() |
332 | add_definitions(-DSIZEOF_TIME_T=${SIZEOF_TIME_T}) | 332 | add_definitions(-DSIZEOF_TIME_T=${SIZEOF_TIME_T}) |
333 | 333 | ||
334 | set(OPENSSL_LIBS tls ssl crypto ${PLATFORM_LIBS}) | 334 | set(OPENSSL_LIBS ssl crypto ${PLATFORM_LIBS}) |
335 | set(LIBTLS_LIBS tls ${PLATFORM_LIBS}) | ||
335 | 336 | ||
336 | add_subdirectory(crypto) | 337 | add_subdirectory(crypto) |
337 | add_subdirectory(ssl) | 338 | add_subdirectory(ssl) |