Check duplicate issues.
Description
When I tried to build a cmake project against the pip install of root (by setting the CMAKE_PREFIX_PATH to the path in the dist-packages folder), I get errors:
CMake Error at /usr/local/lib/python3.12/dist-packages/ROOT/cmake/ROOTConfig-targets.cmake:930 (message):
The imported target "ROOT::Core" references the file
"/usr/local/lib/python3.12/mock_site_packages/ROOT/lib/libCore.so"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/local/lib/python3.12/dist-packages/ROOT/cmake/ROOTConfig-targets.cmake"
but not all the files it references.
This issue is just to make sure that pip installations of ROOT will be buildable against!
Thanks
Will
Reproducer
pip install root
export CMAKE_PREFIX_PATH=/usr/local/lib/python3.12/dist-packages/ROOT
...
then do a cmake build
ROOT version
latsest
Installation method
pip install
Operating system
linux
Additional context
No response
Check duplicate issues.
Description
When I tried to build a cmake project against the pip install of root (by setting the CMAKE_PREFIX_PATH to the path in the dist-packages folder), I get errors:
This issue is just to make sure that pip installations of ROOT will be buildable against!
Thanks
Will
Reproducer
then do a cmake build
ROOT version
latsest
Installation method
pip install
Operating system
linux
Additional context
No response