You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't drop in boost-cmake in place of an existing project that uses Legacy-cmake variables such as Boost_INCLUDE_DIRS. May be a separate build issue but I couldn't see these defined here somehow?
A far from complete solution but I have managed a workaround in the client code:
# Support pre Cmake 3.x Target based dependency mode
set(Boost_BOOST_LIBRARY Boost::boost)
set(Boost_PYTHON_LIBRARY Boost::python)
set(Boost_INCLUDE_DIRS $<TARGET_PROPERTY:Boost::headers,INTERFACE_INCLUDE_DIRECTORIES>)
I can't drop in
boost-cmake
in place of an existing project that uses Legacy-cmake variables such asBoost_INCLUDE_DIRS
. May be a separate build issue but I couldn't see these defined here somehow?The list of expected one are documented on the
FindBoost
module:https://cmake.org/cmake/help/latest/module/FindBoost.html#result-variables
The text was updated successfully, but these errors were encountered: