[CMake] install directory that create empty folder
Michaël Presseau
presseaum at amdinc.ca
Mon Jun 7 17:09:15 EDT 2010
I used install to install directory with PATTERN. In the directory, there is some folder that doesn't contains file following my PATTERN *.h and *.hpp. When installing with CPack and NSIS on windows, that also create empty folder.
Is there a way to get rid of all this empty folder.
This is my install command:
# Install source de ACE
install (
DIRECTORY ${ACE_INCLUDE_DIRS}/ace
DESTINATION ${install_directory}/ace
COMPONENT ${component_name}
FILES_MATCHING
PATTERN *.h
PATTERN *.hpp
PATTERN .svn EXCLUDE
)
Thank's a lot!
Michaël
More information about the CMake
mailing list