From 534429d4d7d3097be74c973664da79588058c3e0 Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Tue, 28 May 2024 11:07:09 +0200 Subject: [PATCH] public thread target Signed-off-by: Uilian Ries --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 520371ca..a4318142 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,7 +78,7 @@ target_include_directories(sioclient target_compile_features(sioclient PUBLIC cxx_std_11) find_package(Threads REQUIRED) -target_link_libraries(sioclient PRIVATE Threads::Threads) +target_link_libraries(sioclient PUBLIC Threads::Threads) if(BUILD_SHARED_LIBS) set_target_properties(sioclient @@ -109,7 +109,7 @@ if(OPENSSL_FOUND) endif() target_compile_definitions(sioclient_tls PRIVATE -DSIO_TLS) - target_link_libraries(sioclient_tls PRIVATE Threads::Threads) + target_link_libraries(sioclient_tls PUBLIC Threads::Threads) if(BUILD_SHARED_LIBS) set_target_properties(sioclient_tls