diff options
| author | 2021-07-23 02:43:50 -0400 | |
|---|---|---|
| committer | 2021-07-23 09:47:52 -0400 | |
| commit | eb61824ea5d5e34475c846ca040a0e33d794a2d2 (patch) | |
| tree | 63bbf31e553ed67505e3110fb7c36afcb4650a7b /src | |
| parent | Merge pull request #6686 from ReinUsesLisp/vk-optimal-copy (diff) | |
| download | yuzu-eb61824ea5d5e34475c846ca040a0e33d794a2d2.tar.gz yuzu-eb61824ea5d5e34475c846ca040a0e33d794a2d2.tar.xz yuzu-eb61824ea5d5e34475c846ca040a0e33d794a2d2.zip | |
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() | |||
| 231 | 231 | ||
| 232 | create_target_directory_groups(common) | 232 | create_target_directory_groups(common) |
| 233 | 233 | ||
| 234 | target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile) | 234 | target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads) |
| 235 | target_link_libraries(common PRIVATE lz4::lz4 xbyak) | 235 | target_link_libraries(common PRIVATE lz4::lz4 xbyak) |
| 236 | if (MSVC) | 236 | if (MSVC) |
| 237 | target_link_libraries(common PRIVATE zstd::zstd) | 237 | target_link_libraries(common PRIVATE zstd::zstd) |