From 0ed618095d6f3ea72d533079788b09ee938a3332 Mon Sep 17 00:00:00 2001 From: kinichiro Date: Tue, 13 Mar 2018 23:13:39 +0900 Subject: Add libpthread for libtls build --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') 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") if (HAVE_CLOCK_GETTIME) set(OPENSSL_LIBS ${OPENSSL_LIBS} rt) endif() + set(OPENSSL_LIBS ${OPENSSL_LIBS} pthread) endif() if(CMAKE_SYSTEM_NAME MATCHES "HP-UX") set(OPENSSL_LIBS ${OPENSSL_LIBS} pthread) -- cgit v1.2.3-55-g6feb