[CMake] install(DIRECTORY . DESTINATION include/proj FILES_MATCHING PATTERN "*.h")

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Oct 28 09:49:25 EDT 2009


Hi there,

  Quick question. What is the command to install a set of *.h files ?

I tried:

install(DIRECTORY . DESTINATION include/proj FILES_MATCHING PATTERN "*.h")

but it is installing the '.svn' subdir as part of the installation.

Thanks,
-- 
Mathieu


More information about the CMake mailing list