mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
Headers under Code/RDGeneral/hash and the generated cmake package config files (rdkit-config*.cmake, rdkit-targets*.cmake, rdkitpython-config*.cmake, rdkitpython-targets*.cmake) are currently installed without an explicit COMPONENT, so they default to "Unspecified" and cannot be cleanly separated from runtime artifacts by packagers that use cmake's per-component install (e.g. -DCMAKE_INSTALL_COMPONENT=dev). In conda-forge we split the package into librdkit (runtime) and librdkit-dev (headers + cmake config), with librdkit installing components "Unspecified base data runtime" and librdkit-dev installing the "dev" component. With the current upstream tagging, the hash headers and all cmake config files end up in librdkit instead of librdkit-dev, which both ships build-time artifacts in a runtime package and leaves librdkit-dev without the cmake config needed for find_package(RDKit) to work. This commit tags all five affected install() calls with COMPONENT dev so per-component installs work correctly. Default (non-component) installs are unaffected.