[CMake] How to exclude empty dirs from install

Olaf van der Spek olafvdspek at gmail.com
Thu Jul 22 11:08:59 EDT 2010


On Thu, Jul 22, 2010 at 5:05 PM, Brian Davis <bitminer at gmail.com> wrote:
>>> It does, but should not be necessary. Why aren't empty dirs excluded by
>>> default?
>
> svn directory is not empty.. it is hidden, but not empty... at least it

True, but note the "*.h" filter. After the filter, the dir is empty,
so it doesn't make any sense to create it at install time.

Olaf


More information about the CMake mailing list