Skip to content

Commit

Permalink
[FIXED] Build: Centos issue with pthread (#710)
Browse files Browse the repository at this point in the history
Resolves #709

Signed-off-by: Ivan Kozlovic <[email protected]>
Co-authored-by: Lev <[email protected]>
  • Loading branch information
kozlovic and levb authored Jan 16, 2024
1 parent 4108c7d commit db87851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ if(UNIX)
else(APPLE)
set(NATS_OS "LINUX")
set(NATS_USE_PTHREAD "-pthread")
set(NATS_EXTRA_LIB "rt")
set(NATS_EXTRA_LIB "rt -lpthread")
endif(APPLE)
if (${NATS_BUILD_ARCH} MATCHES "32")
if(NOT APPLE)
Expand Down

0 comments on commit db87851

Please sign in to comment.