From 2f9adc092f33e53bfb90bbfaff931515eceaca64 Mon Sep 17 00:00:00 2001 From: Steven Kearnes Date: Thu, 28 May 2026 07:24:54 -0400 Subject: [PATCH] Build: tag rdkitpython install rules with COMPONENT python (#9288) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #9287 tagged these install rules with COMPONENT dev, which routes rdkitpython-config.cmake / rdkitpython-targets.cmake into the dev component alongside the python-agnostic C++ cmake config. That's correct progress over the prior Unspecified default, but `dev` is the wrong group: these files hardcode a single python version via configure_file substitution (find_dependency(Python3 3.X ...) and Boost component python3XX/numpy3XX), so they belong with the python wrappers — themselves python-version-specific — rather than with python-agnostic dev artifacts. Change the two affected COMPONENT tags from dev to python. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 518ba24df..f64b30024 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -643,7 +643,7 @@ if(RDK_BUILD_PYTHON_WRAPPERS) FILE ${RDKitPython_EXPORTED_TARGETS}.cmake NAMESPACE RDKit:: DESTINATION ${RDKit_LibDir}/cmake/rdkitpython - COMPONENT dev + COMPONENT python ) write_basic_package_version_file( @@ -660,7 +660,7 @@ if(RDK_BUILD_PYTHON_WRAPPERS) ${RDKit_BINARY_DIR}/rdkitpython-config.cmake ${RDKit_BINARY_DIR}/rdkitpython-config-version.cmake DESTINATION ${RDKit_LibDir}/cmake/rdkitpython - COMPONENT dev) + COMPONENT python) endif(RDK_BUILD_PYTHON_WRAPPERS) # Memory testing setup