diff options
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) |