diff options
author | Kefu Chai <kchai@redhat.com> | 2016-07-29 18:26:43 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2016-07-29 18:26:44 +0200 |
commit | a27bbaaebf1391e41495f33d66237bcf485e332b (patch) | |
tree | c95cc3655752ec9af1b66732814a142bc4b3c0ee /src/global | |
parent | cmake: cleanup Findfuse.cmake (diff) | |
download | ceph-a27bbaaebf1391e41495f33d66237bcf485e332b.tar.xz ceph-a27bbaaebf1391e41495f33d66237bcf485e332b.zip |
cmake: link libcommon against pthread
as Thread.cc lives in libcommon, and global is not using libpthread
directly. so moving libpthread linkage from libglobal to libcommon.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/global')
-rw-r--r-- | src/global/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global/CMakeLists.txt b/src/global/CMakeLists.txt index 7cbee098d97..f9a1c264ed3 100644 --- a/src/global/CMakeLists.txt +++ b/src/global/CMakeLists.txt @@ -7,4 +7,4 @@ set(global_common_files add_library(global_common_objs OBJECT ${global_common_files}) add_library(global STATIC ${libglobal_srcs} $<TARGET_OBJECTS:global_common_objs>) -target_link_libraries(global common ${CMAKE_THREAD_LIBS_INIT} ${EXTRALIBS}) +target_link_libraries(global common ${EXTRALIBS}) |