Hi,<br><br>I need to install the same files (actually a directory, it doesn't change anything) to several destination. Typically, I need to install the same header files to "include" and "sys-include" (no question about that, this is mandatory).<br>
<br>I thought I could specify multiple DESTINATION flags in intall command, like<br><br>install (DIRECTORY ${PROJECT_SOURCE_DIR}/include/sys/${SYSTEM}/ <br> DESTINATION ${INCLUDE_DEST1} DESTINATION ${INCLUDE_DEST2}<br>
PATTERN "private" EXCLUDE)<br><br>but CMake doesn't like that.<br><br>Easy solution would be to make two install commands, or include this command in a macro to avoid code copy. Do you see a better way?<br>
<br>BTW, I am using cmake 2.6<br><br>Thanks,<br><br clear="all">-- <br>Jérôme<br>