From: Kefu Chai Date: Sun, 16 Feb 2020 00:58:51 +0000 (+0800) Subject: cmake: s/thread/Threads::Threads/ X-Git-Tag: v15.1.1~398^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0a150f07b6269a5685d1d769d138701c07c5717d;p=ceph.git cmake: s/thread/Threads::Threads/ Threads::Threads is cmake's way to present thread library. see https://cmake.org/cmake/help/v3.1/module/FindThreads.html Signed-off-by: Kefu Chai --- diff --git a/src/crimson/CMakeLists.txt b/src/crimson/CMakeLists.txt index 59b1a2c8e3f1..6caf9b36bb01 100644 --- a/src/crimson/CMakeLists.txt +++ b/src/crimson/CMakeLists.txt @@ -171,7 +171,7 @@ target_compile_options(crimson PUBLIC "-ftemplate-backtrace-limit=0") target_link_libraries(crimson PRIVATE - pthread + Threads::Threads PUBLIC crimson-common crimson::cflags)