I\'ve seen that I can use this command in order to copy a directory using cmake:
file(COPY \"myDir\" DESTINATION \"myDestination\")
(from t
this also works for me:
install(DIRECTORY "myDir/" DESTINATION "myDestination" FILES_MATCHING PATTERN "*.h" )