diff options
author | crupest <crupest@outlook.com> | 2022-05-13 22:52:25 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-05-13 22:52:25 +0800 |
commit | 8cb4c5bf9e3eb0ba01679355a445369dd61122df (patch) | |
tree | 84a1ee599fd9b4373193b09a446bc0c7612f0726 /src/common | |
parent | 7a0779adf3c31951de623862d9f85d62a679f03d (diff) | |
download | cru-8cb4c5bf9e3eb0ba01679355a445369dd61122df.tar.gz cru-8cb4c5bf9e3eb0ba01679355a445369dd61122df.tar.bz2 cru-8cb4c5bf9e3eb0ba01679355a445369dd61122df.zip |
...
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/CMakeLists.txt | 4 |
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) |