Files
rdkit/rdkitpython-config.cmake.in
Riccardo Vianello 560d5ad604 export the targets with a python dependency to a different config file (#7914)
* export the targets with a python dependency to a different config file

* add the forgotten file

* improve the dependency from boost components

* fix management of dependencies for RDKitPython

* fix install location for RdkitPython cmake config file

* fix finding boost components

* put libraries that depend on rdkit_py_base in the python component
2025-02-19 05:53:30 +01:00

10 lines
502 B
CMake

# Find the RDKitPython dependencies
include(CMakeFindDependencyMacro)
find_dependency(Python3 @Python3_VERSION_MAJOR@.@Python3_VERSION_MINOR@ COMPONENTS Interpreter Development.Module NumPy)
find_dependency(Boost @Boost_VERSION_STRING@ COMPONENTS python@Python3_VERSION_MAJOR@@Python3_VERSION_MINOR@ numpy@Python3_VERSION_MAJOR@@Python3_VERSION_MINOR@)
find_dependency(RDKit @RDKit_RELEASENAME@ REQUIRED)
# Import the targets
include("${CMAKE_CURRENT_LIST_DIR}/@RDKitPython_EXPORTED_TARGETS@.cmake")