Brad King wrote:
The VTK CMake code provides an interface to allow some customization of the build. Create a file Common/LocalUserOptions.cmake in either the VTK build tree or the source tree. Add this line:

SET_TARGET_PROPERTIES(vtkCommon PROPERTIES LINK_FLAGS
 "-install_name @executable_path/../Plugins/libvtkCommon.dylib")

You might also be interested in this tool:

http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/install_name_tool.1.html

-Brad
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to