mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
* Fix Qt 6.5.8 link failure on macOS due to removed AGL framework Qt 6.5.8 injects the AGL (Apple Graphics Layer) framework into the WrapOpenGL::WrapOpenGL imported target's INTERFACE_LINK_LIBRARIES. AGL was removed from macOS 14+ SDKs, causing a link error when building MolDraw2DQt on modern macOS: ld: framework not found AGL This workaround filters AGL out of WrapOpenGL::WrapOpenGL's link libraries after find_package(Qt6) populates them. The guard conditions (APPLE and TARGET WrapOpenGL::WrapOpenGL) make it a no-op on other platforms and Qt versions that do not create that target. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Broaden AGL workaround comment to not pin Qt 6.5.8 specifically The issue may affect other Qt versions, not just 6.5.8. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>