Boost Users :
Subject: [Boost-users] CPack, CMake and Boost's shared libraries
Date: 2016-06-25 17:11:54
What is the canonical cross-platform way to package boost shared
libraries with CPack (and/or CMake)?
On Windows, DLLs can be copied to the executable's folder and it will
On OS X, one can use install_name_tool to set up a so-called rpath
pointing to a relative location where the libraries reside, relative to
On Ubuntu, one can similarly use ldd for setting up the correct
pointers to where the libraries will reside relative to the executable.
The question is then: is there some documentation on how to ship boost
libraries along with your executable, in a cross-platform and canonical
way, with CPack?
Here's a question on stack overflow  that addresses the same
problem, however the proposed solution of using
in CMake does not seem cross-platform to me (MSVC won't recognize the
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net