diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-23 02:43:50 -0400 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-23 09:47:52 -0400 |
commit | eb61824ea5d5e34475c846ca040a0e33d794a2d2 (patch) | |
tree | 63bbf31e553ed67505e3110fb7c36afcb4650a7b /src | |
parent | db46f8a70c853ccab3318abed1416231a3c426db (diff) |
common: Publically link to pthreads
Common requires pthreads but does not refer to it when linking to other
modules. Fix this by linking to Threads where necessary.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index e03fffd8d..7f22ea97a 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -231,7 +231,7 @@ endif() create_target_directory_groups(common) -target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile) +target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads) target_link_libraries(common PRIVATE lz4::lz4 xbyak) if (MSVC) target_link_libraries(common PRIVATE zstd::zstd) |