Skip to content

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

Loading