aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-05-13 22:52:25 +0800
committercrupest <crupest@outlook.com>2022-05-13 22:52:25 +0800
commit8cb4c5bf9e3eb0ba01679355a445369dd61122df (patch)
tree84a1ee599fd9b4373193b09a446bc0c7612f0726 /src/common
parent7a0779adf3c31951de623862d9f85d62a679f03d (diff)
downloadcru-8cb4c5bf9e3eb0ba01679355a445369dd61122df.tar.gz
cru-8cb4c5bf9e3eb0ba01679355a445369dd61122df.tar.bz2
cru-8cb4c5bf9e3eb0ba01679355a445369dd61122df.zip
...
Diffstat (limited to 'src/common')
-rw-r--r--src/common/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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)