[CMake] Re: Installed project with shared libs

Brad King brad.king at kitware.com
Tue Feb 28 08:59:33 EST 2006


E. Wing wrote:
>>Can/will cmake be able to support these forms?  For example, I'd like to
>>be able to build vtk as dylibs and then place said dylibs in my
>>application's bundle.  This means that the dylib's 'install_name' must
>>be "@executable_path/Contents/Frameworks/".
> 
> 
> A clarification. Typically, the path is: @executable_path/../Frameworks
> 
> The executable_path is actually inside the bundle in .app/Contents/MacOS/
> So notice that the ".." relative path operator is explicitly used. I
> just wanted to note this to make sure the coming implementation will
> handle this.

The implementation was committed to CVS on Friday.  Look at the 
documentation of the SET_TARGET_PROPERTIES command (INSTALL_DIR_NAME 
property).  Please try it out when you can to make sure this works for you.

-Brad


More information about the CMake mailing list