summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar lat9nq2021-07-23 02:43:50 -0400
committerGravatar lat9nq2021-07-23 09:47:52 -0400
commiteb61824ea5d5e34475c846ca040a0e33d794a2d2 (patch)
tree63bbf31e553ed67505e3110fb7c36afcb4650a7b /src
parentMerge pull request #6686 from ReinUsesLisp/vk-optimal-copy (diff)
downloadyuzu-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.txt2
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
232create_target_directory_groups(common) 232create_target_directory_groups(common)
233 233
234target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile) 234target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile Threads::Threads)
235target_link_libraries(common PRIVATE lz4::lz4 xbyak) 235target_link_libraries(common PRIVATE lz4::lz4 xbyak)
236if (MSVC) 236if (MSVC)
237 target_link_libraries(common PRIVATE zstd::zstd) 237 target_link_libraries(common PRIVATE zstd::zstd)