[CMake] Install Prefix and RPM
Brad King
brad.king at kitware.com
Tue Oct 10 14:03:23 EDT 2006
Helio Chissini de Castro wrote:
> Hi everyone
>
> Is there an easy way to make a different install prefix durong the install
> phase, most directed for RPM construction ( like the old DESTDIR on
> auto*tools ) ?
> I have a code that during build parse and substitute de real install prefix,
> and if i set CMAKE_INSTALL_PREFIX pointing to rpm buildroot, i will need to
> do some sed on resulting config files.
export DESTDIR=/my/dest/dir
make install
-Brad
More information about the CMake
mailing list