Closed fabianbs96 closed 1 year ago
@MMory What is the desired location when you package phasar? The RPATH should be correct, however, I'm not sure if you want to directly install into lib
, so I'll just wanted to point that out.
For testing, I have set CMAKE_INSTALL_PREFIX
to /opt/phasar
. When doing so, all of phasars libs are installed to /opt/phasar/lib64, but the schema validator is installed to /opt/phasar/lib. The RPATH is set to /opt/phasar/lib64, leaving the schema validator unresolved. lib seems to be hardcoded on the schema validator side. @fabianbs96 what do you think we should do?
Thanks @MMory for that info. That is indeed an issue. I marked this PR as draft again, as it seems there is more work to be done. We should also think about whether it is a good idea to install external dependencies at all
The install does not install libraries into
${CMAKE_INSTALL_PREFIX}/lib/phasar
, but directly into${CMAKE_INSTALL_PREFIX}/lib
. So, the linker rpath should point there as well