[CMake] install an empty directory
Brandon J. Van Every
bvanevery at gmail.com
Wed Jul 19 15:29:54 EDT 2006
Brad King wrote:
>
> Actually to be completely correct you need to account for DESTDIR
> installs. Also you do not want the install prefix or destdir to
> evaluate until install time, so you need to escape the $ tokens too:
>
> INSTALL(CODE "
> MESSAGE(STATUS \"Installing \${CMAKE_INSTALL_PREFIX}/lib/chicken/1\")
> MAKE_DIRECTORY(\"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/lib/chicken/1\")
> ")
>
Thanks! I think, given the several levels of additional understanding
necessary to correctly install an empty directory, that I will make a
feature request for a standard, simple way to do it. Like
INSTALL(MAKE_DIRECTORY mydir).
Cheers,
Brandon Van Every
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060719/7ccb8b1b/attachment.htm
More information about the CMake
mailing list