]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cmake: s/thread/Threads::Threads/
authorKefu Chai <kchai@redhat.com>
Sun, 16 Feb 2020 00:58:51 +0000 (08:58 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 16 Feb 2020 15:59:30 +0000 (23:59 +0800)
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 <kchai@redhat.com>
src/crimson/CMakeLists.txt

index 59b1a2c8e3f178ca2889f0ff7d4cfb6a4e8628c1..6caf9b36bb01c066305b988811c97661b07a727a 100644 (file)
@@ -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)