FindBoost.cmake Update, main branch (2025.01.07.)
This is a replacement (attempt) for !1173 (closed).
As discussed in !1173 (comment 8893891), we need to ensure that Boost_LIBRARY_DIRS
continues to be set reasonably. Otherwise we encounter all sorts of runtime (and even build-time) issues.
I'm not super happy about the added complications in lcg_wrap_find_module(...)
, but this seemed the best way of going about this. That as soon as a library directory would be set up for Boost, it would be saved into a cache variable. So that the environment script generation could make use of it. This way any project that only uses the Boost headers, would not add Boost to LD_LIBRARY_PATH
.
I'm very open to feedback @fwinkl.
Merge request reports
Activity
- Resolved by Attila Krasznahorkay
Thanks @akraszna. Looks good from what I can tell. I was fairly sure I tested my solution with a few packages but it's entirely possible I ended up picking header-only cases.
mentioned in commit d47528f3
mentioned in merge request !1173 (closed)
Forgot to mention ATLINFR-5571 in this MR...
mentioned in merge request !1190 (merged)
mentioned in merge request athena!77095 (merged)