From 42f3833dbd49d157ca9d0a85318840bf0da70cb8 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Thu, 31 Mar 2022 14:35:45 -0400 Subject: [PATCH] README: document cmake options for system packages Signed-off-by: Casey Bodley --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index c4c691850092..96f2c6aff28d 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,14 @@ for a couple of external dependencies: -DCMAKE_INSTALL_PREFIX=/opt/ceph -DCMAKE_C_FLAGS="-Og -g3 -gdwarf-4" \ .. +Ceph has several bundled dependencies such as Boost, RocksDB and Arrow. By +default, cmake will build these bundled dependencies from source instead of +using libraries that are already installed on the system. You can opt-in to +using these system libraries, provided they meet the minimum version required +by Ceph, with cmake options like `WITH_SYSTEM_BOOST`: + + cmake -DWITH_SYSTEM_BOOST=ON [...] + To view an exhaustive list of -D options, you can invoke `cmake` with: cmake -LH -- 2.47.3