[CMake] Renaming directory while installing

Nathan Huesken cmake at lonely-star.org
Wed Dec 9 07:21:59 EST 2009


Hi,

I can install a directory in cmake doing:

INSTALL(DIRECTORY ${SRCDIR} DESTINATION destdir)

which will create a dir under destdir with the name of the source
directory. Now I want to do this, but name the destination directory
differently than the original.

Can this be done?
Thanks!
Nathan


More information about the CMake mailing list