title: How to install binaries to user's home directory by CPack?
body: <p>I am trying to change package install prefix, with the goal to enable users of my application to install my app into their own directory. I attempted</p>
  
  <pre><code>set(CPACK_PACKAGING_INSTALL_PREFIX "~/${CPACK_PACKAGE_NAME}")
  </code></pre>
  
  <p>which results in error message</p>
  
  <pre><code>file called with relative DESTINATION.
  </code></pre>
  
  <p>at the same time, </p>
  
  <pre><code>set(CPACK_PACKAGING_INSTALL_PREFIX "./${CPACK_PACKAGE_NAME}")
  </code></pre>
  
  <p>works fine. Till now I guessed that "." is relative and "~" is absolute.</p>
  
  <p>My real purpose to install a directory structure in the user's subdirectory, where samples, docs, logs can be located. I cannot figure out, how it should be carried out.</p>