mirror of
https://github.com/ceph/ceph
synced 2025-03-06 08:20:12 +00:00
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>
This commit is contained in:
parent
4ca4201b7f
commit
0f4cb207bb
@ -235,6 +235,7 @@ macro(build_boost version)
|
||||
INTERFACE_LINK_LIBRARIES "${dependencies}")
|
||||
unset(dependencies)
|
||||
endif()
|
||||
set(Boost_${c}_FOUND "TRUE")
|
||||
endforeach()
|
||||
|
||||
# for header-only libraries
|
||||
|
Loading…
Reference in New Issue
Block a user