mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
src/CmakeLists.txt: Changes Linux type include libraries
- On FreeBSD libuuid, libresolv, libdl are all in libc. So do not use them while linking, otherwise missing lib errors will result - libdl is sorted out by stdard CMake functionality Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
parent
8ba3eaac25
commit
b175a86460
@ -217,8 +217,11 @@ else(INTEL_SSE4_1)
|
||||
message(STATUS "Skipping target ec_jerasure_sse4 & ec_shec_sse4: -msse4.1 not supported")
|
||||
endif(INTEL_SSE4_1)
|
||||
|
||||
|
||||
set(EXTRALIBS rt ${CMAKE_DL_LIBS} ${ATOMIC_OPS_LIBRARIES})
|
||||
if(LINUX)
|
||||
set(LIB_RESOLV resolv)
|
||||
list(APPEND EXTRALIBS ${LIB_RESOLV})
|
||||
endif(LINUX)
|
||||
|
||||
option(WITH_PROFILER "build extra profiler binaries" OFF)
|
||||
if(WITH_PROFILER)
|
||||
|
Loading…
Reference in New Issue
Block a user