As an example, I have a package that uses common libraries like boost and opencv. I have installed these packages in special locations like ~/libs/boost/build
, in contrast to /usr/local
default locations.
In my package CMake I call boost and open cv with `` SET (BOOST_INCLUDEDIR "~/libs/boost/.../build/include")'
The issue is as such my package is not portable in the sense the user who would try to use it would have to modify it, i.e. to modify ~/libs/boost/.../build/include
Thus, my question is how to edit CMake or .bashrc such that my package would be portable?