<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Brad King wrote:<br>
<blockquote cite="mid44BE6300.9010704@kitware.com" type="cite">
  <pre wrap=""><!---->
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\")
")
  </pre>
</blockquote>
<br>
Thanks!&nbsp; 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.&nbsp; Like
INSTALL(MAKE_DIRECTORY mydir).<br>
<br>
<br>
Cheers,<br>
Brandon Van Every<br>
<br>
</body>
</html>