Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

common: Publically link to pthreads

lat9nq0ea70212af0d
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index e03fffd8d0..7f22ea97a7 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)