I am using Cmake with Cpack to create linux packages. I install my executable in /bin/MyProgram; in order to work properly, the executable needs to have access to an external file (an xml schema). I would like Cpack to generate a package that will install that file in a specific location (e.g. /usr/share/MyProgram) other than the one where the executable is stored.
Thank you very much!