From 8cb4c5bf9e3eb0ba01679355a445369dd61122df Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 13 May 2022 22:52:25 +0800 Subject: ... --- src/common/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common') diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 043ee5ea..75b91838 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -22,6 +22,10 @@ if (UNIX) platform/unix/ErrnoException.cpp platform/unix/UnixFileStream.cpp ) + + if (NOT APPLE) + target_link_libraries(cru_base PUBLIC pthread) + endif() endif() if (APPLE) -- cgit v1.2.3