aboutsummaryrefslogtreecommitdiff
path: root/ports/freerdp/openssl_threads.patch
blob: 43ebe03e7f54b4537c55cd54d1d64c9b51d030a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc068fc84..1bc0f342c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -930,6 +930,7 @@ if(OPENSSL_FOUND)
 	add_definitions("-DWITH_OPENSSL")
 	message(STATUS "Using OpenSSL Version: ${OPENSSL_VERSION}")
 	include_directories(${OPENSSL_INCLUDE_DIR})
+	list(APPEND OPENSSL_LIBRARIES Threads::Threads)
 endif()
 
 if(MBEDTLS_FOUND)