[CMake] distribute third party libs with NSIS

Tyler Roscoe tyler at cryptio.net
Mon May 17 17:57:12 EDT 2010


On Mon, May 17, 2010 at 02:41:21PM -0400, Michaël Presseau wrote:
> Hi, I have an application and I need to create an installer. I use
> CPack with NSIS. For now, I'm using : find_package(Boost COMPONENTS
> thread date_time filesystem REQUIRED)
> 
> This give me le .lib associate to the dll file. This is compiling and
> working on computer with Boost already install.
> 
> My problems occurs when I need to install the application on computer
> that doesn't have boost already install. What is the right way to do
> this.

You probably want to look at BundleUtilities (and the fixup_bundle()
function), which is designed to help solve the problem of getting all
the 3rdparty libraries needed by your app.

tyler


More information about the CMake mailing list