mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
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
This commit is contained in:
committed by
GitHub
parent
4eb1ea9985
commit
560d5ad604
9
rdkitpython-config.cmake.in
Normal file
9
rdkitpython-config.cmake.in
Normal file
@@ -0,0 +1,9 @@
|
||||
# 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")
|
||||
Reference in New Issue
Block a user