Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
public thread target
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <uilianries@gmail.com>
uilianries committed May 28, 2024
1 parent a24e49f commit 534429d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 534429d

Please sign in to comment.