diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2018-03-13 23:13:39 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2018-03-13 23:16:10 +0900 |
commit | 0ed618095d6f3ea72d533079788b09ee938a3332 (patch) | |
tree | 092d303af5f86dd1e3c400b7d2e4f38f0aba7323 /CMakeLists.txt | |
parent | c0bf25d4d1dbd14dd6286238de7d8e635d2f78bf (diff) | |
download | portable-0ed618095d6f3ea72d533079788b09ee938a3332.tar.gz portable-0ed618095d6f3ea72d533079788b09ee938a3332.tar.bz2 portable-0ed618095d6f3ea72d533079788b09ee938a3332.zip |
Add libpthread for libtls build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f7c6a1..fd755ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -292,6 +292,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux") | |||
292 | if (HAVE_CLOCK_GETTIME) | 292 | if (HAVE_CLOCK_GETTIME) |
293 | set(OPENSSL_LIBS ${OPENSSL_LIBS} rt) | 293 | set(OPENSSL_LIBS ${OPENSSL_LIBS} rt) |
294 | endif() | 294 | endif() |
295 | set(OPENSSL_LIBS ${OPENSSL_LIBS} pthread) | ||
295 | endif() | 296 | endif() |
296 | if(CMAKE_SYSTEM_NAME MATCHES "HP-UX") | 297 | if(CMAKE_SYSTEM_NAME MATCHES "HP-UX") |
297 | set(OPENSSL_LIBS ${OPENSSL_LIBS} pthread) | 298 | set(OPENSSL_LIBS ${OPENSSL_LIBS} pthread) |