]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
CMake - Workaround set Boost_component_FOUND
authorDaniel Gryniewicz <dang@redhat.com>
Thu, 12 Dec 2019 15:41:08 +0000 (10:41 -0500)
committerMauricio Faria de Oliveira <mfo@canonical.com>
Mon, 8 Mar 2021 12:36:37 +0000 (09:36 -0300)
commit7b9fa1b98a1aea2dcabcea68a781cb9f885da20f
treec6b8db577a91033ca8e6cf2b3a643577fde8ff22
parent18b8b9839c437e9b7df97650d6d16111fc7bba99
CMake - Workaround set Boost_component_FOUND

BuildBoost.cmake (used when we're building the submodule) doesn't
provide parity with FindBoost.cmake (used with system Boost).
Specifically, it doesn't set the _FOUND variables for the various
components, making it hard to depend on finding those features.

Set Boost_<component>_FOUND for all the components we're building in
BuildBoost.cmake to make using these variables possible.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
(cherry picked from commit 0f4cb207bb4a9905619894286edd41a89379a747)
Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com>
cmake/modules/BuildBoost.cmake