[CMake] Need to run scripts during packaging

Clinton Stimpson clinton at elemtech.com
Fri Nov 13 19:23:59 EST 2009


On Friday 13 November 2009 05:05:36 pm Michael Jackson wrote:
> OS X classic dylib problems. My Dylibs have the full path as their
> "install_name". When I do a "make install" I have scripts run over
> those libraries to "fix them up" using the BundleUtilities.cmake
> stuff. Um, so how do I get those same scripts to run when I do a "make
> package" ?
>

How about doing an install(SCRIPT ...), where the specified script can include 
BundleUtilities and call fixup_bundle().

Clint



More information about the CMake mailing list