Re: [CMake] post-install script

2009-05-24 Thread Michael Wild
No, this won't work. It is not an .app bundle I'm installing, it's stand-alone frameworks. Perhaps I'll have to go with the absolute paths until the mentioned bug-fix is in the mainstream distros. I don't like the DYLD_FRAMEWORK_PATH finding anyways (the same reasons for which CMake uses RP

Re: [CMake] post-install script

2009-05-23 Thread Bill Hoffman
Michael Wild wrote: Thanks David yes, I already did try that (it's the obvious thing to try...). Unfortunately the script runs before any of the files get installed. Actually, I need to work around this bug: http://www.vtk.org/Bug/view.php?id=9054 by setting setting INSTALL_NAME_DIR of the

Re: [CMake] post-install script

2009-05-23 Thread Mike Jackson
Did you try the normal CMake-OSX dylib fix up macro 'fixup_bundle()'. This will take care of copying in all the non-system dependent libraries/frameworks and adjusting their "install_name" for you resulting in a stand alone .app package. If you need help (it is not obvious how to use it) let me kn

Re: [CMake] post-install script

2009-05-23 Thread Eric Noulard
2009/5/23 Michael Wild : > Thanks David > > yes, I already did try that (it's the obvious thing to try...). > Unfortunately the script runs before any of the files get installed. Hi All, I think that currently some PRE-INSTALL / POST-INSTALL rules are currently missing from CMake. I did evoke th

Re: [CMake] post-install script

2009-05-23 Thread Michael Wild
Thanks David yes, I already did try that (it's the obvious thing to try...). Unfortunately the script runs before any of the files get installed. Actually, I need to work around this bug: http://www.vtk.org/Bug/view.php?id=9054 by setting setting INSTALL_NAME_DIR of the Mac OS X frameworks

Re: [CMake] post-install script

2009-05-23 Thread David Cole
Put your install( CODE ... ) at the very bottom of the top level CMakeLists.txt file. Then it should run last after all other install steps. Did you already try that and there was a problem with it? On Sat, May 23, 2009 at 3:12 AM, Michael Wild wrote: > On 21. May, 2009, at 10:14, Michael Wild

Re: [CMake] post-install script

2009-05-23 Thread Michael Wild
On 21. May, 2009, at 10:14, Michael Wild wrote: Hi all I need to run a install( CODE ... ) script as a post-install step after everything else has been installed. How do I enforce that? Thanks for any help. Michael Nobody got any ideas? ___ Pow

[CMake] post-install script

2009-05-21 Thread Michael Wild
Hi all I need to run a install( CODE ... ) script as a post-install step after everything else has been installed. How do I enforce that? Thanks for any help. Michael ___ Powered by www.kitware.com Visit other Kitware open-source projects at http