aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2021-05-02 15:50:37 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2021-05-07 20:31:22 +0900
commit4c56df46de18da692785ed337910ab852c34e0ce (patch)
tree0096e13212ac46cf6d7e59c65353c8183ee52000 /CMakeLists.txt
parent9971b0820c72a7be267e562f6002439b06103b94 (diff)
downloadportable-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.txt3
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")
331endif() 331endif()
332add_definitions(-DSIZEOF_TIME_T=${SIZEOF_TIME_T}) 332add_definitions(-DSIZEOF_TIME_T=${SIZEOF_TIME_T})
333 333
334set(OPENSSL_LIBS tls ssl crypto ${PLATFORM_LIBS}) 334set(OPENSSL_LIBS ssl crypto ${PLATFORM_LIBS})
335set(LIBTLS_LIBS tls ${PLATFORM_LIBS})
335 336
336add_subdirectory(crypto) 337add_subdirectory(crypto)
337add_subdirectory(ssl) 338add_subdirectory(ssl)