Kaynağa Gözat

Merge pull request #6699 from lat9nq/common-threads

common: Publically link to pthreads
bunnei 5 yıl önce
ebeveyn
işleme
c2aaf51370
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/common/CMakeLists.txt

+ 1 - 1
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)