Is Paraview relocatable?
For vcpkg packages must be relocatable because of binary caching. One future post build check checks if there are absolute paths in the build results. The check have found the following occurrences:
paraview-5.9/vtkCPConfig.h
:
#ifndef vtkCPPythonScriptPipelineConfig_h
#define vtkCPPythonScriptPipelineConfig_h
// These variables are used to locate the python module files since we cannot
// reply on the executable path to locate python module files.
#define PARAVIEW_BINARY_DIR "/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/paraview/arm64-osx-rel"
#define PARAVIEW_INSTALL_DIR "/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/packages/paraview_arm64-osx"
#endif
It seems that only PARAVIEW_BINARY_DIR
is used in the code.
Edited by autoantwort