[CMake] Why is there no install(DIRECTORY dirs... COMPONENT <component> OPTIONAL)?

Doug Gregor doug.gregor at gmail.com
Thu May 22 07:45:29 EDT 2008


The OPTIONAL argument can be passed to every other variant of the
"install" command, but not the DIRECTORY version. Is there any
particular reason for this limitation, or is it an oversight? I know I
can get around the issue with install(FILES...) and a
file(GLOB_RECURSE), but that's not quite as good.

  - Doug


More information about the CMake mailing list