]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: honor WITH_FMT_HEADER_ONLY with vendored fmt lib
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Mon, 21 Aug 2023 06:27:24 +0000 (06:27 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Mon, 21 Aug 2023 06:39:26 +0000 (06:39 +0000)
commita09b70dfd8ebfab3b641206568a8c6f9b3d6404d
tree6f03e6319121199b7d8170cd7ef483bcb9004b58
parentd40edd3ac02919fb1b5f5fdbb1268d090ad83daa
cmake: honor WITH_FMT_HEADER_ONLY with vendored fmt lib

We're using the vendored fmt lib when there is no system library
available. However, there is an inconsistency: the
WITH_FMT_HEADER_ONLY setting is ignored by the vendored library.

In order to address this, we'll use the fmt-header-only alias
if WITH_FMT_HEADER_ONLY is set.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/CMakeLists.txt