Hi Mathieu, I'm confused by the need for a REAL_INSTALL_PREFIX. Which does just setting the CMAKE_INSTALL_PREFIX directly work? If this doesn't work then this is the thing to fix directly rather than have a platform specific workaround.
Is looks to me the only extra you've added over setting the CMAKE_INSTALL_PREFIX directly is setting the CMAKE_BUILD_WITH_INSTALL_RPATH set to TRUE and CMAKE_INSTALL_NAME_DIR. I would have thought if these are required to action a proper install then it's something we'd want to have on by default. Robert. 2010/3/3 Mathieu Marache <[email protected]> > Hi, > > I ran into a problem while compiling and installing OSG on a mac. The mac > produces dylib that retain the location of their dependencies. So we need to > relocate them during the install stage. > > Our scenario is that a CI machine compiles our sdks and publishs them to a > server that we rsync from. The dylib created with the Makefile generator had > their dependencies set on the CI machine compilations paths (that doesn't > exist on user's machines obviously). > > Here is a simple modification that will take the option variable > CMAKE_REAL_INSTALL_PREFIX and make this happen. > > As I'm testing the git mirror ( http://github.com/openscenegraph/osg ). I > also have pushed this modification on my clone : > http://github.com/mathieu/osg/network > > > > > > Mathieu > > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
