If one of the dependencies have already done that, and the result gets cached or exported, your dependents will most likely not evaluate FindBoost again, leading to your BOOST_ROOT being ignored.īut in all cases: please be aware that mixing different Boost versions is fraught with potential problems. This might or might not work, depending on whether the package(s) you're trying to build are the first to look for Boost. You should be able to do something like: catkin_make -cmake-args -DBOOST_ROOT:PATHNAME=/path/to/your/boost This module reads hints about search locations from variables: According to the FindBoost.cmake documentation: Setting LD_LIBRARY_PATH will likely not do anything.
0 Comments
Leave a Reply. |