[CMake] post-install script
Michael Wild
themiwi at gmail.com
Sat May 23 08:16:52 EDT 2009
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 to
____remove_this_string____. A script should then use install_name_tool
to fix up things as a post-install step.
Michael
On 23. May, 2009, at 13:22, David Cole wrote:
> 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 <themiwi at gmail.com>
> wrote:
>
>> 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?
>>
>>
More information about the CMake
mailing list