Skip to content

Commit

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

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
  • Loading branch information
kozlovic committed Jan 15, 2024
1 parent fab89f4 commit a8e0a59
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 a8e0a59

Please sign in to comment.