I am building the official VTK 5.x release on OS X and I would like to
add a custom link argument for all the generated libraries. I am
building dynamic libraries and I would like to set the "install-name"
of each library to "@executable_path/../Plugins" so I can include the
libs in my .app package. Normally I would set this in the Xcode build
settings but since I am using cmake I have no idea where to set that.

The link argument would normally be something like "-install_name
@executable_path/../Plugins/libvtkCommon.dylib"

I asked on the vtk-users mail list but they said to ask here.
---
Cheers
Mike Jackson
imikejackson _at_ gee-mail dot com
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to